me dumb
This commit is contained in:
parent
6736a43837
commit
eb16062d6a
@ -8,9 +8,9 @@
|
||||
bool g_bHasFakeClient[MAXPLAYERS + 1] = {false,...};
|
||||
int g_MaxPlayers = 64;
|
||||
|
||||
ConVar g_hCVar_FakeClients = INVALID_HANDLE;
|
||||
ConVar g_hCVar_SourceTV = INVALID_HANDLE;
|
||||
ConVar g_hCVar_MaxPlayers = INVALID_HANDLE;
|
||||
ConVar g_hCVar_FakeClients;
|
||||
ConVar g_hCVar_SourceTV;
|
||||
ConVar g_hCVar_MaxPlayers;
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
// Purpose:
|
||||
@ -41,6 +41,8 @@ public void OnPluginStart()
|
||||
g_hCVar_SourceTV = CreateConVar("sm_nosteamplayercount_sourcetv", "1", "Increse PlayerCount for SourceTV", 0, true, 0.0, true, 1.0);
|
||||
g_hCVar_MaxPlayers = CreateConVar("sm_nosteamplayercount_maxplayers", "64", "Max Players to display in the sv browser", 0, true, 1.0, true, 128.0);
|
||||
|
||||
g_hCVar_MaxPlayers.AddChangeHook(OnConVarChanged);
|
||||
|
||||
AutoExecConfig(true, "plugin.NoSteamPlayerCount");
|
||||
|
||||
RegAdminCmd("sm_addfake", Command_AddFake, ADMFLAG_ROOT, "");
|
||||
|
Loading…
Reference in New Issue
Block a user