FakePopulation: big update

+ edit ZombieManager to avoid fakes being motherzombie
This commit is contained in:
Dogan
2019-09-29 19:46:32 +02:00
parent 7c18d0ce43
commit 8bf4b9363b
2 changed files with 129 additions and 33 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ public void ZR_OnClientHumanPost(int client, bool respawn, bool protect)
public Action ZR_OnClientInfect(int &client, int &attacker, bool &motherInfect, bool &respawnOverride, bool &respawn)
{
if(g_bTestRound || (GetClientIdleTime(client) > g_iAFKTime && motherInfect))
if(g_bTestRound || (GetClientIdleTime(client) > g_iAFKTime && motherInfect) || IsFakeClient(client))
return Plugin_Handled;
return Plugin_Continue;