MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / PrintToConsole

Method PrintToConsole

core/PlayerManager.cpp:2676–2690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2674}
2675
2676void CPlayer::PrintToConsole(const char *pMsg)
2677{
2678 if (m_IsConnected == false || m_bFakeClient == true)
2679 {
2680 return;
2681 }
2682
2683 INetChannel *pNetChan = static_cast<INetChannel *>(engine->GetPlayerNetInfo(m_iIndex));
2684 if (pNetChan == NULL)
2685 {
2686 return;
2687 }
2688
2689 engine->ClientPrintf(m_pEdict, pMsg);
2690}

Callers 5

ClientConsolePrintFunction · 0.80
CheckAccessMethod · 0.80
sm_PrintToConsoleFunction · 0.80
ReplyToCommandFunction · 0.80
_ShowActivityFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected