ZombieManager: and when map sets zm hp low
This commit is contained in:
parent
c56ae5a07e
commit
4c77ded8dc
@ -262,7 +262,7 @@ public Action OnPlayerHurt(Event event, const char[] name, bool dontBroadcast)
|
||||
int attacker = GetClientOfUserId(GetEventInt(event, "attacker"));
|
||||
int damage = GetEventInt(event, "dmg_health");
|
||||
|
||||
if(!IsClientInGame(client) || !IsPlayerAlive(client) || !ZR_IsClientZombie(client))
|
||||
if(!IsClientInGame(client) || !IsPlayerAlive(client) || !ZR_IsClientZombie(client) || GetClientHealth(client) <= 100)
|
||||
return Plugin_Continue;
|
||||
|
||||
if(g_iZShield[client] > 0 && attacker != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user