ZombieManager: fix jenz's bot
This commit is contained in:
parent
7213733f5a
commit
409d4d5c5d
@ -108,10 +108,13 @@ public Action ZR_OnClientMotherZombieEligible(int client)
|
|||||||
bHasItem = EW_ClientHasItem(client);
|
bHasItem = EW_ClientHasItem(client);
|
||||||
#endif
|
#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_Handled;
|
||||||
|
|
||||||
return Plugin_Continue;
|
return Plugin_Continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ZR_OnClientInfected(int client, int attacker, bool motherInfect, bool respawnOverride, bool respawn)
|
public void ZR_OnClientInfected(int client, int attacker, bool motherInfect, bool respawnOverride, bool respawn)
|
||||||
|
Loading…
Reference in New Issue
Block a user