ZombieManager: dis makes more sense
This commit is contained in:
parent
bdf49aea9a
commit
01cbaa98c7
@ -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) || GetClientHealth(client) <= 100)
|
||||
if(!IsClientInGame(client) || !IsPlayerAlive(client) || !ZR_IsClientZombie(client) || GetClientHealth(client) <= g_iZHPMax[client])
|
||||
return Plugin_Continue;
|
||||
|
||||
if(g_iZShield[client] > 0 && attacker != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user