From 4c77ded8dcde53ba562f7cde17df6a21e3cf9fed Mon Sep 17 00:00:00 2001 From: dogan Date: Thu, 6 Aug 2020 03:06:42 +0200 Subject: [PATCH] ZombieManager: and when map sets zm hp low --- ZombieManager/scripting/ZombieManager.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZombieManager/scripting/ZombieManager.sp b/ZombieManager/scripting/ZombieManager.sp index 382c8932..97cd2643 100644 --- a/ZombieManager/scripting/ZombieManager.sp +++ b/ZombieManager/scripting/ZombieManager.sp @@ -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)