From d37cd0390a2e14915e3af7a20e68a66762842259 Mon Sep 17 00:00:00 2001 From: christian Date: Tue, 6 Apr 2021 01:51:41 +0200 Subject: [PATCH] added second autism bot protection --- ZombieManager/scripting/ZombieManager.sp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ZombieManager/scripting/ZombieManager.sp b/ZombieManager/scripting/ZombieManager.sp index 1439e731..de21b953 100644 --- a/ZombieManager/scripting/ZombieManager.sp +++ b/ZombieManager/scripting/ZombieManager.sp @@ -53,7 +53,7 @@ public void OnPluginStart() HookEvent("player_hurt", OnPlayerHurt, EventHookMode_Pre); ConVar cvar; - HookConVarChange((cvar = CreateConVar("sm_player_afk_time", "120", "AFK Time in seconds after which a player won't turn into a motherzombie")), Cvar_AFKTime); + HookConVarChange((cvar = CreateConVar("sm_player_afk_time", "120", "AFK Time in seconds after which a player wont turn into a motherzombie")), Cvar_AFKTime); g_iAFKTime = cvar.IntValue; HookConVarChange((cvar = CreateConVar("sm_zombieshield", "1", "1 = Zombie Shield activated, 0 = Zombie Shield deactivated", FCVAR_NONE, true, 0.0, true, 1.0)), Cvar_ZombieShield); g_bShield = cvar.BoolValue; @@ -251,7 +251,7 @@ public Action ZR_OnClientMotherZombieEligible(int client) 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")) + if(GetClientIdleTime(client) > g_iAFKTime || IsFakeClient(client) || bHasItem || StrEqual(sAuthID, "STEAM_0:1:60189040") || StrEqual(sAuthID, "STEAM_0:0:518094602")) return Plugin_Handled; return Plugin_Continue; @@ -558,4 +558,4 @@ public Action Timer_UpdateHintMessage(Handle timer) } return Plugin_Continue; -} \ No newline at end of file +}