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;
};

