From 6b28af94ecc7f9d0be7a930356f81fc479080572 Mon Sep 17 00:00:00 2001 From: enrezz Date: Wed, 8 Apr 2026 00:33:21 +0300 Subject: [PATCH] Update zombiemod.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit еуые --- src/zombiemod.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/zombiemod.cpp b/src/zombiemod.cpp index 8220a6f0..c44f33e2 100644 --- a/src/zombiemod.cpp +++ b/src/zombiemod.cpp @@ -238,10 +238,10 @@ void ZM_SetupCTeams() void ZM_OnRoundStart(IGameEvent* pEvent) { ZM_SetupRespawnToggler(); - ClientPrintAll(HUD_PRINTTALK, ZM_PREFIX "The game is \x05Humans vs. Zombies\x01, the goal for zombies is to infect all humans by knifing them."); + // ClientPrintAll(HUD_PRINTTALK, ZM_PREFIX "The game is \x05Humans vs. Zombies\x01, the goal for zombies is to infect all humans by knifing them."); - if (g_cvarZMInfectSpawnWarning.Get() && g_cvarZMInfectSpawnType.Get() == (int)EZMSpawnType::ZM_IN_PLACE) - ClientPrintAll(HUD_PRINTTALK, ZM_PREFIX "Classic spawn is enabled! Zombies will be \x07spawning between humans\x01!"); + // if (g_cvarZMInfectSpawnWarning.Get() && g_cvarZMInfectSpawnType.Get() == (int)EZMSpawnType::ZM_IN_PLACE) + // ClientPrintAll(HUD_PRINTTALK, ZM_PREFIX "Classic spawn is enabled! Zombies will be \x07spawning between humans\x01!"); if (!GetGlobals()) return; @@ -705,7 +705,7 @@ void ZM_InitialInfection() g_bRespawnEnabled = false; SendHudMessageAll(4, EHudPriority::InfectionCountdown, "First infection has started!"); - ClientPrintAll(HUD_PRINTTALK, ZM_PREFIX "First infection has started! Good luck, survivors!"); + // ClientPrintAll(HUD_PRINTTALK, ZM_PREFIX "First infection has started! Good luck, survivors!"); g_ZMRoundState = EZMRoundState::POST_INFECTION; } @@ -740,8 +740,8 @@ void ZM_StartInitialCountdown() SendHudMessageAll(2, EHudPriority::InfectionCountdown, "%sFirst infection in %i %s!", classicSpawnMsg, g_iInfectionCountDown, g_iInfectionCountDown == 1 ? "second" : "seconds"); - if (g_iInfectionCountDown % 5 == 0) - ClientPrintAll(HUD_PRINTTALK, "%sFirst infection in \7%i %s\1!", ZM_PREFIX, g_iInfectionCountDown, g_iInfectionCountDown == 1 ? "second" : "seconds"); + // if (g_iInfectionCountDown % 5 == 0) + // ClientPrintAll(HUD_PRINTTALK, "%sFirst infection in \7%i %s\1!", ZM_PREFIX, g_iInfectionCountDown, g_iInfectionCountDown == 1 ? "second" : "seconds"); } (*iSecondsElapsed)++; @@ -1702,4 +1702,4 @@ CON_COMMAND_CHAT_FLAGS(zmrevive, "- Revive a player", ADMFLAG_GENERIC) } if (iNumClients > 1) PrintMultiAdminAction(nType, pszCommandPlayerName, "revived", "", ZM_PREFIX); -} \ No newline at end of file +}