mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Disable Respawn if player dead
This commit is contained in:
@@ -14,7 +14,7 @@ _timeMax = diag_tickTime+10;
|
|||||||
dayz_lastCheckBit = time;
|
dayz_lastCheckBit = time;
|
||||||
|
|
||||||
// if(r_player_dead) exitWith {_btnAbort ctrlEnable true;};
|
// 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
|
//force gear save
|
||||||
if (!r_player_dead and time - dayz_lastCheckBit > 10) then {
|
if (!r_player_dead and time - dayz_lastCheckBit > 10) then {
|
||||||
@@ -57,4 +57,4 @@ while {!isNull _display} do {
|
|||||||
sleep _sleep;
|
sleep _sleep;
|
||||||
_timeOut = diag_tickTime;
|
_timeOut = diag_tickTime;
|
||||||
};
|
};
|
||||||
cutText ["", "PLAIN DOWN"];
|
cutText ["", "PLAIN DOWN"];
|
||||||
|
|||||||
Reference in New Issue
Block a user