mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Show respawn from player zombie or broken legs as suicide
This commit is contained in:
@@ -507,7 +507,8 @@ class RscDisplayMPInterrupt : RscStandardDisplay {
|
||||
class CA_B_Respawn : CA_B_SAVE {
|
||||
idc = 1010;
|
||||
//onButtonClick = "hint str (_this select 0);";
|
||||
onButtonClick = "if ((alive player) && (r_fracture_legs or {player isKindOf 'PZombie_VB'})) then { player SetDamage 1;};";
|
||||
//Show as a suicide in server RPT log
|
||||
onButtonClick = "if ((alive player) && (r_fracture_legs or {player isKindOf 'PZombie_VB'})) then { [player,'shot'] call player_death; };";
|
||||
y = 0.2537 + 0.101903 * 2;
|
||||
text = $STR_DISP_INT_RESPAWN;
|
||||
default = 0;
|
||||
|
||||
Reference in New Issue
Block a user