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

Method CurrentCommandName

core/HalfLife2.cpp:863–870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

861}
862
863const char *CHalfLife2::CurrentCommandName()
864{
865#if SOURCE_ENGINE >= SE_ORANGEBOX
866 return m_CommandStack.front().args->Arg(0);
867#else
868 return m_CommandStack.front().cmd;
869#endif
870}
871
872void CHalfLife2::AddDelayedKick(int client, int userid, const char *msg)
873{

Callers 2

OnClientCommandMethod · 0.80
InternalDispatchMethod · 0.80

Calls 1

ArgMethod · 0.45

Tested by

no test coverage detected