allowing fakeclients and autismbots to be mother zombie again for the second or third time now

This commit is contained in:
jenz 2024-09-27 13:14:27 +02:00
parent d9987c554d
commit e9d9175282
2 changed files with 6 additions and 2 deletions

View File

@ -115,6 +115,7 @@ public int Native_IsAutismBot(Handle hPlugin, int numParams)
return g_bIsAutismBot[client];
}
/*
public Action ZR_OnClientMotherZombieEligible(int client)
{
if (g_bIsAutismBot[client])
@ -122,3 +123,4 @@ public Action ZR_OnClientMotherZombieEligible(int client)
return Plugin_Continue;
}
*/

View File

@ -540,13 +540,13 @@ public void CheckPopulation()
}
else
{
max = RoundToFloor(iPlayers * 0.5);
max = RoundToFloor(iPlayers * 0.3);
min = RoundToFloor(iPlayers * 0.1);
}
iFakesNeeded = GetRandomInt(min, max);
//iFakesNeeded = randomAmount - iPlayers;
if (iFakesNeeded < 0 || iPlayers > 45)
if (iFakesNeeded < 0 || iPlayers > 50)
{
iFakesNeeded = 0;
iFakesInTeamNeeded = 0;
@ -690,6 +690,7 @@ public void OnGameFrame()
}
}
/*
public Action ZR_OnClientMotherZombieEligible(int client)
{
if (g_bFakePopulation[client])
@ -697,3 +698,4 @@ public Action ZR_OnClientMotherZombieEligible(int client)
return Plugin_Continue;
}
*/