From 0b3326844809a7ea7bc79f0f16323f80c6054e9a Mon Sep 17 00:00:00 2001 From: neon <> Date: Sun, 7 Oct 2018 17:26:40 +0200 Subject: [PATCH] change root commands to rcon --- FakeMapname/scripting/FakeMapname.sp | 4 ++-- ForceInputs/scripting/ForceInputs.sp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/FakeMapname/scripting/FakeMapname.sp b/FakeMapname/scripting/FakeMapname.sp index a7853b5f..306f2402 100644 --- a/FakeMapname/scripting/FakeMapname.sp +++ b/FakeMapname/scripting/FakeMapname.sp @@ -28,8 +28,8 @@ public void OnGameFrame() //---------------------------------------------------------------------------------------------------- public void OnPluginStart() { - RegAdminCmd("sm_fakemap", Command_FakeMap, ADMFLAG_ROOT, ""); - RegAdminCmd("sm_resetfakemap", Command_ResetFakeMap, ADMFLAG_ROOT, ""); + RegAdminCmd("sm_fakemap", Command_FakeMap, ADMFLAG_RCON, ""); + RegAdminCmd("sm_resetfakemap", Command_ResetFakeMap, ADMFLAG_RCON, ""); } //---------------------------------------------------------------------------------------------------- diff --git a/ForceInputs/scripting/ForceInputs.sp b/ForceInputs/scripting/ForceInputs.sp index de073c53..21735156 100644 --- a/ForceInputs/scripting/ForceInputs.sp +++ b/ForceInputs/scripting/ForceInputs.sp @@ -30,8 +30,8 @@ public void OnPluginStart() { LoadTranslations("common.phrases"); - RegAdminCmd("sm_forceinput", Command_ForceInput, ADMFLAG_ROOT); - RegAdminCmd("sm_forceinputplayer", Command_ForceInputPlayer, ADMFLAG_ROOT); + RegAdminCmd("sm_forceinput", Command_ForceInput, ADMFLAG_RCON); + RegAdminCmd("sm_forceinputplayer", Command_ForceInputPlayer, ADMFLAG_RCON); } //----------------------------------------------------------------------------------------------------