From f06fded5f54a8928a15cc784c780be108fee90d6 Mon Sep 17 00:00:00 2001 From: Dogan Date: Fri, 8 Nov 2019 02:22:28 +0100 Subject: [PATCH] FakeClients: no insta connect on mapswitch either + no fake in team before 10 players --- FakeClients/scripting/FakeClients.sp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/FakeClients/scripting/FakeClients.sp b/FakeClients/scripting/FakeClients.sp index 77f7426d..41d0ce8e 100644 --- a/FakeClients/scripting/FakeClients.sp +++ b/FakeClients/scripting/FakeClients.sp @@ -77,6 +77,10 @@ public void OnPluginEnd() public void OnMapStart() { g_bMapEnded = false; + + g_bBlockInstantFakeConnects = false; + g_iBlockInstantFakeConnects = 0; + CreateTimer(4.0, BlockInstantFakeConnects, _, TIMER_REPEAT); } //---------------------------------------------------------------------------------------------------- @@ -347,7 +351,7 @@ public void CheckPopulation() else if (iPlayers > 5) { iFakesNeeded = 4; - iFakesInTeamNeeded = 1; + iFakesInTeamNeeded = 0; } else {