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

Method OnSourceModAllInitialized

core/ConVarManager.cpp:105–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void ConVarManager::OnSourceModAllInitialized()
106{
107 g_Players.AddClientListener(this);
108
109 scripts->AddPluginsListener(this);
110
111 /* Add the 'convars' option to the 'sm' console command */
112 rootmenu->AddRootConsoleCommand3("cvars", "View convars created by a plugin", this);
113}
114
115void ConVarManager::OnSourceModShutdown()
116{

Callers

nothing calls this directly

Calls 3

AddClientListenerMethod · 0.80
AddPluginsListenerMethod · 0.45

Tested by

no test coverage detected