ZombieManager: fix jenz's bot

This commit is contained in:
dogan 2020-05-24 14:12:33 +02:00
parent 7213733f5a
commit 409d4d5c5d

View File

@ -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)