From e9d9175282bdaf31eb159b5ec6d6ae64d7c50fcc Mon Sep 17 00:00:00 2001 From: jenz Date: Fri, 27 Sep 2024 13:14:27 +0200 Subject: [PATCH] allowing fakeclients and autismbots to be mother zombie again for the second or third time now --- BotTargeting/scripting/BotTargeting.sp | 2 ++ FakeClients/scripting/FakeClients.sp | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/BotTargeting/scripting/BotTargeting.sp b/BotTargeting/scripting/BotTargeting.sp index 5090ce14..69ddda56 100644 --- a/BotTargeting/scripting/BotTargeting.sp +++ b/BotTargeting/scripting/BotTargeting.sp @@ -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; } +*/ diff --git a/FakeClients/scripting/FakeClients.sp b/FakeClients/scripting/FakeClients.sp index a036cba9..75e67175 100755 --- a/FakeClients/scripting/FakeClients.sp +++ b/FakeClients/scripting/FakeClients.sp @@ -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; } +*/