Show respawn from player zombie or broken legs as suicide

This commit is contained in:
ebaydayz
2017-01-06 19:30:05 -05:00
parent ad556aa0cb
commit 80def55420
2 changed files with 3 additions and 2 deletions

View File

@@ -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;