From 7e3ad44699813e972aa271dda9efb43f70239297 Mon Sep 17 00:00:00 2001 From: jenz Date: Tue, 7 Apr 2026 11:32:34 +0200 Subject: [PATCH] probably last edits for now --- FakeClients/scripting/FakeClients.sp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/FakeClients/scripting/FakeClients.sp b/FakeClients/scripting/FakeClients.sp index acf31bc..e07d2fd 100755 --- a/FakeClients/scripting/FakeClients.sp +++ b/FakeClients/scripting/FakeClients.sp @@ -195,7 +195,7 @@ public void OnMapEnd() //---------------------------------------------------------------------------------------------------- public Action RunPopulationCheck(Handle timer) { - RequestFrame(CheckPopulation); + CheckPopulation(); return Plugin_Continue; } @@ -406,13 +406,13 @@ public void CheckPopulation() { iPlayers = 16; } - int iFakesInTeamNeeded = iPlayers / 5; + int iFakesInTeamNeeded = iPlayers / 2; int iFakesNeeded = iPlayers; iPlayers = 0; for(int i = 1; i <= MaxClients; i++) { - if(IsClientConnected(i) && IsClientInGame(i) && IsClientAuthorized(i) && !IsFakeClient(i) && !IsClientAutismBot(i) && !IsClientSourceTV(i) && GetClientTeam(i) > CS_TEAM_SPECTATOR) + if (IsClientConnected(i)) iPlayers++; } @@ -448,7 +448,7 @@ public void CheckPopulation() } //LogMessage("specs: %i", specs); - if (specs >= 13 && iFakesNeeded > 0) + if (specs >= 14 && iFakesNeeded > 0) { iFakesInTeamNeeded = iFakes; if (iFakes >= 5) @@ -458,7 +458,7 @@ public void CheckPopulation() okay_to_change_count = true; //LogMessage("iFakesInTeamNeeded: %i", iFakesInTeamNeeded); } - else if (specs <= 10) + else if (specs <= 9) { iFakesInTeamNeeded = (iFakesNeeded / 5); } @@ -519,7 +519,6 @@ public void CheckPopulation() CS_SetClientClanTag(iIndex, ""); } iFakes++; - } if (iFakes > iFakesNeeded)