Asian Kid Posted October 19, 2013 Report Share Posted October 19, 2013 I was thinking and I made this up and can anyone see if I made mistakes or just this wont work at all. Add to init newspawn = compile preprocessFileLineNumbers "spawn.sqf"; waitUntil {!isNil ("PVDZE_plr_LoginRecord")}; if (dayzPlayerLogin2 select 2) then { player spawn newspawn; }; spawn.sqf _humanity = player getVariable ["humanity",0]; //Bandit\\ if (_humanity < -2500) then { [dayz_playerUID,dayz_characterID,'GUE_Soldier_2_DZ'] spawn player_humanityMorph; reload player; }; //Survivor\\ if (_humanity < 5000 and _humanity > -2500) then { [dayz_playerUID,dayz_characterID,'Rocker4_DZ'] spawn player_humanityMorph; reload player; }; //Hero\\ if (_humanity > 5000) then { [dayz_playerUID,dayz_characterID,'Haris_Press_EP1_DZ'] spawn player_humanityMorph; reload player; }; Link to comment Share on other sites More sharing options...
Question
Asian Kid
I was thinking and I made this up and can anyone see if I made mistakes or just this wont work at all.
Add to init
spawn.sqf
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now