mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-09 01:32:53 +03:00
Correct PVDZ_plr_Save for player zombies
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user