mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
FIXED playerDeath function
This commit is contained in:
parent
b88113eb96
commit
2830f50be7
@ -54,9 +54,11 @@ if (_playerKilledScreen isEqualTo "") then {_playerKilledScreen = "TapOut2"};
|
||||
if(_doRevenge && player != _killer && (isPlayer _killer || isPlayer (effectiveCommander _killer)))then{_tapDiag = _playerKilledScreen};//TODO: vehicle check may not always be reliable
|
||||
|
||||
if (Epoch_canBeRevived) then {
|
||||
setPlayerRespawnTime 600;
|
||||
_Epoch_PlayerRespawnTime = 600;
|
||||
createDialog _tapDiag;
|
||||
} else {
|
||||
setPlayerRespawnTime 15;
|
||||
_Epoch_PlayerRespawnTime = 15;
|
||||
["You can be just revived once per life!", 5] call Epoch_message;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user