change root commands to rcon

This commit is contained in:
neon 2018-10-07 17:26:40 +02:00
parent f8a497b7fd
commit 0b33268448
2 changed files with 4 additions and 4 deletions

View File

@ -28,8 +28,8 @@ public void OnGameFrame()
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
public void OnPluginStart() public void OnPluginStart()
{ {
RegAdminCmd("sm_fakemap", Command_FakeMap, ADMFLAG_ROOT, ""); RegAdminCmd("sm_fakemap", Command_FakeMap, ADMFLAG_RCON, "");
RegAdminCmd("sm_resetfakemap", Command_ResetFakeMap, ADMFLAG_ROOT, ""); RegAdminCmd("sm_resetfakemap", Command_ResetFakeMap, ADMFLAG_RCON, "");
} }
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------

View File

@ -30,8 +30,8 @@ public void OnPluginStart()
{ {
LoadTranslations("common.phrases"); LoadTranslations("common.phrases");
RegAdminCmd("sm_forceinput", Command_ForceInput, ADMFLAG_ROOT); RegAdminCmd("sm_forceinput", Command_ForceInput, ADMFLAG_RCON);
RegAdminCmd("sm_forceinputplayer", Command_ForceInputPlayer, ADMFLAG_ROOT); RegAdminCmd("sm_forceinputplayer", Command_ForceInputPlayer, ADMFLAG_RCON);
} }
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------