ZombieManager: and when map sets zm hp low
This commit is contained in:
parent
5db56330d6
commit
bdf49aea9a
@ -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