From 5682ca35e398efd3b3f5b110ec9e74ad786712e8 Mon Sep 17 00:00:00 2001 From: mittorn Date: Wed, 1 Aug 2018 02:24:54 +0700 Subject: [PATCH] Hide trigger touch messages --- dlls/triggers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/triggers.cpp b/dlls/triggers.cpp index 161f3123..573cc0a0 100644 --- a/dlls/triggers.cpp +++ b/dlls/triggers.cpp @@ -1623,13 +1623,13 @@ void CChangeLevel::ChangeLevelNow( CBaseEntity *pActivator ) if( pActivator && pActivator->IsPlayer() && m_flRepeatTimer - gpGlobals->time < -1 ) { CBasePlayer *pPlayer = (CBasePlayer*)pActivator; - UTIL_CoopPrintMessage("%s^7 trying activate changelevel too soon\n", UTIL_CoopPlayerName( pPlayer )); + //UTIL_CoopPrintMessage("%s^7 trying activate changelevel too early\n", UTIL_CoopPlayerName( pPlayer )); UTIL_CleanSpawnPoint( pPlayer->pev->origin, 50 ); m_flRepeatTimer = gpGlobals->time; pPlayer->gravgunmod_data.m_iLocalConfirm = -2; } - ClientPrint( pActivator->pev, HUD_PRINTCENTER, "Cannot change level: Not enough players!\nWait 30 sec before you may changelevel!" ); + ClientPrint( pActivator->pev, HUD_PRINTCENTER, "Too early! You or other players near you\nplaying less than 30 seconds!" ); return; }