diff --git a/src/engine/shared/console.cpp b/src/engine/shared/console.cpp index e20e2dae2..ba2ddc0bc 100644 --- a/src/engine/shared/console.cpp +++ b/src/engine/shared/console.cpp @@ -502,7 +502,10 @@ void CConsole::ExecuteLineStroked(int Stroke, const char *pStr, int ClientID, bo else { if(pCommand->m_Flags & CMDFLAG_TEST && !g_Config.m_SvTestingCommands) + { + Print(OUTPUT_LEVEL_STANDARD, "console", "Test commands aren't allowed, enable them with 'sv_test_cmds 1' in your initial config."); return; + } if(m_pfnTeeHistorianCommandCallback && !(pCommand->m_Flags & CFGFLAG_NONTEEHISTORIC)) {