Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
PVCDZ_plr_Login2 = [_worldspace,_state,_Achievements];
PVCDZ_plr_Login2 = [_worldspace,_state,_Achievements,_randomSpot];
sexcheck = compile preprocessFileLineNumbers "custom\sexcheck\sexcheck.sqf";
waitUntil {!isNil ("PVDZE_plr_LoginRecord")};
if (PVCDZ_plr_Login2 select 2) then
{
player spawn sexcheck;
};
};
that's calling on it to execute the _Achievements variable which i've never seen before, so make it look likeI tried this in Dayz 1.8.1 and couldn't get it to work. I just spawn with the default skin. I have it working on my Epoch servers, however.
For the Dayz 1.8.1 server, I made this change in the server_playerSetup.sqf,
I changed this:
Code:PVCDZ_plr_Login2 = [_worldspace,_state,_Achievements];
To this:
Code:PVCDZ_plr_Login2 = [_worldspace,_state,_Achievements,_randomSpot];
There was no dayzPlayerLogin2 = [_worldspace,_state]; in Dayz 1.8.1 so I figured this was where I need to make the change.
Also, the init.sqf code is slightly changed to look like this:
Code:sexcheck = compile preprocessFileLineNumbers "custom\sexcheck\sexcheck.sqf"; waitUntil {!isNil ("PVDZE_plr_LoginRecord")}; if (PVCDZ_plr_Login2 select 2) then { player spawn sexcheck; }; };
Any ideas?
sexcheck = compile preprocessFileLineNumbers "custom\sexcheck\sexcheck.sqf";
waitUntil {!isNil ("PVDZE_plr_LoginRecord")};
if (PVCDZ_plr_Login2 select 3) then
{
player spawn sexcheck;
};
};
Then you have the init.sqf set up wrong. If you set up the execution wrong then it will do that.Im not the best at coding, but are ur script supposed to give a random skin everytime u join the server ?Because thats pretty much what its doing when i get it to work on the epoch version.