From b3ff7f2c7ea85e176c47a3ab2ab078e5b33bc67f Mon Sep 17 00:00:00 2001 From: dogan Date: Thu, 6 Aug 2020 03:14:37 +0200 Subject: [PATCH] ZombieManager: dis makes more sense --- 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 97cd2643..20ef6655 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) || 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)