should not had checked alive, instead increased number

This commit is contained in:
jenz 2026-06-05 17:51:02 +02:00
parent bf4c76a17c
commit 56c97b7d29

View File

@ -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) && IsPlayerAlive(i))
if (IsClientConnected(i) && IsClientInGame(i) && IsClientAuthorized(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 = 20;
int choosen_number = 35;
if (g_iDoingMapTouristMode > g_iActivePlayerCount > 0)
{
CreateTimer(3.0, SetHealthOnCT);