redoing adjustments

This commit is contained in:
jenz 2026-06-05 15:21:57 +02:00
parent 06e5c325ac
commit bf4c76a17c

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))
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);