From 28c3fff8200fdda52b8de4fed5bfd3fa99f7452b Mon Sep 17 00:00:00 2001 From: dogan Date: Sun, 24 May 2020 14:12:33 +0200 Subject: [PATCH] ZombieManager: fix jenz's bot --- ZombieManager/scripting/ZombieManager.sp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ZombieManager/scripting/ZombieManager.sp b/ZombieManager/scripting/ZombieManager.sp index 6ea10439..f7c7a218 100644 --- a/ZombieManager/scripting/ZombieManager.sp +++ b/ZombieManager/scripting/ZombieManager.sp @@ -108,10 +108,13 @@ public Action ZR_OnClientMotherZombieEligible(int client) bHasItem = EW_ClientHasItem(client); #endif - if(GetClientIdleTime(client) > g_iAFKTime || IsFakeClient(client) || bHasItem) + char sAuthID[32]; + GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID)); //autism bot + + if(GetClientIdleTime(client) > g_iAFKTime || IsFakeClient(client) || bHasItem || StrEqual(sAuthID, "STEAM_0:1:60189040")) return Plugin_Handled; - return Plugin_Continue; + return Plugin_Continue; } public void ZR_OnClientInfected(int client, int attacker, bool motherInfect, bool respawnOverride, bool respawn)