+ Begin work on wave null
+ Added idle server restart
+ Fixed log spam of server trying to stop invalid sounds
+ Begin work on modified morecolors system
This commit is contained in:
2025-08-22 23:11:53 -04:00
parent 6778d13c85
commit ceea9f0a9e
6 changed files with 711 additions and 8 deletions

View File

@@ -1784,7 +1784,7 @@ void SendHudTextAll(int channel, const char[] text, float posX, float posY, floa
// WIPE MECHANIC - If all players die, the wave fails.
void TickBodyCheck() {
int alive = 0;
for (int i = 1; i <= MaxClients; i++) if (IsPlayerAlive(i) && GetClientTeam(i) == 2) alive++;
for (int i = 1; i <= MaxClients; i++) if (IsValidClient(i)) if(IsPlayerAlive(i) && GetClientTeam(i) == 2) alive++;
if (alive == 0) {
CPrintToChatAll("{red}You've all died! Are you happy?");
FastFire2("bots_win", "roundwin", "", 0.0, false);