Disable Respawn if player dead

This commit is contained in:
Skaronator
2014-01-18 22:35:09 +01:00
parent 9927690fdc
commit 68f5b2a081

View File

@@ -14,7 +14,7 @@ _timeMax = diag_tickTime+10;
dayz_lastCheckBit = time;
// if(r_player_dead) exitWith {_btnAbort ctrlEnable true;};
if(r_fracture_legs) then {_btnRespawn ctrlEnable true;};
if(r_fracture_legs && !r_player_dead) then {_btnRespawn ctrlEnable true;};
//force gear save
if (!r_player_dead and time - dayz_lastCheckBit > 10) then {
@@ -57,4 +57,4 @@ while {!isNull _display} do {
sleep _sleep;
_timeOut = diag_tickTime;
};
cutText ["", "PLAIN DOWN"];
cutText ["", "PLAIN DOWN"];