Correct PVDZ_plr_Save for player zombies

This commit is contained in:
ebaydayz
2016-04-20 17:00:38 -04:00
parent 14dacf269c
commit 7da7b9e5dd
9 changed files with 9 additions and 7 deletions

View File

@@ -133,7 +133,7 @@ _body setVariable["combattimeout", 0, true];
//dayzFlies = player;
//publicVariable "dayzFlies";
uiSleep 2;
1 cutRsc ["DeathScreen_DZE","BLACK OUT",3];
1 cutRsc [if (DZE_DeathScreen) then {"DeathScreen_DZE"} else {"DeathScreen_DZ"},"BLACK OUT",3];
playMusic "dayz_track_death_1";
uiSleep 2;

View File

@@ -7,7 +7,7 @@ Opens player inventory to save
_magazineArray = [] call player_countMagazines;
if ((count _magazineArray) > 0) then {
PVDZ_plr_Save = [player,[_magazineArray,dayz_onBack]];
PVDZ_plr_Save = [player, if (player isKindOf "PZombie_VB") then {nil} else {[_magazineArray,dayz_onBack]}];
publicVariableServer "PVDZ_plr_Save";
};

View File

@@ -11,7 +11,7 @@ _btnAbort ctrlEnable false;
_btnAbortText = ctrlText _btnAbort;
_isPZombie = player isKindOf "PZombie_VB";
if (r_fracture_legs) then {_btnRespawn ctrlEnable true;};
if (r_fracture_legs or _isPZombie) then {_btnRespawn ctrlEnable true;};
dayz_lastCheckSave = time;
//force gear save