From bf4c76a17c0ae492fca6a1e95212ec9ed80d26e2 Mon Sep 17 00:00:00 2001 From: jenz Date: Fri, 5 Jun 2026 15:21:57 +0200 Subject: [PATCH] redoing adjustments --- AntiNoob/scripting/knockback_low_pop_modifier.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AntiNoob/scripting/knockback_low_pop_modifier.sp b/AntiNoob/scripting/knockback_low_pop_modifier.sp index 922f16f..d4a7312 100644 --- a/AntiNoob/scripting/knockback_low_pop_modifier.sp +++ b/AntiNoob/scripting/knockback_low_pop_modifier.sp @@ -57,7 +57,7 @@ public Action CheckPopulation(Handle timer) g_iActivePlayerCount = 0; for (int i = 1; i <= MaxClients; i++) { - if (IsClientConnected(i) && IsClientInGame(i) && IsClientAuthorized(i)) + if (IsClientConnected(i) && IsClientInGame(i) && IsClientAuthorized(i) && IsPlayerAlive(i)) { g_iActivePlayerCount++; } @@ -97,7 +97,7 @@ public void OnRoundStart(Event hEvent, const char[] sEvent, bool bDontBroadcast) ServerCommand("zr_class_set_multiplier zombies knockback 1.0"); ServerCommand("sm_iammo @all 0"); - int choosen_number = 28; + int choosen_number = 20; if (g_iDoingMapTouristMode > g_iActivePlayerCount > 0) { CreateTimer(3.0, SetHealthOnCT);