| 103 | } |
| 104 | |
| 105 | void 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 | |
| 115 | void ConVarManager::OnSourceModShutdown() |
| 116 | { |
nothing calls this directly
no test coverage detected