From 6b37afd8de2d9cedbce66682151546b0d34fa572 Mon Sep 17 00:00:00 2001 From: zaCade Date: Sat, 7 Jul 2018 14:34:48 +0200 Subject: [PATCH] General: Change Root permission into RCON. Since w/ RCON you can do it over console anyway.. --- ExtraCommands/scripting/ExtraCommands.sp | 2 +- Status/scripting/Status.sp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ExtraCommands/scripting/ExtraCommands.sp b/ExtraCommands/scripting/ExtraCommands.sp index f429a338..5dc71045 100644 --- a/ExtraCommands/scripting/ExtraCommands.sp +++ b/ExtraCommands/scripting/ExtraCommands.sp @@ -346,7 +346,7 @@ public Action Command_Weapon(int client, int argc) if(client >= 1) { - if(!GetAdminFlag(GetUserAdmin(client), Admin_Root)) + if(!GetAdminFlag(GetUserAdmin(client), Admin_RCON)) { if(StrEqual(sWeapon, "weapon_c4", false) || StrEqual(sWeapon, "weapon_smokegrenade", false) || StrEqual(sWeapon, "item_defuser", false)) { diff --git a/Status/scripting/Status.sp b/Status/scripting/Status.sp index 280f96d5..12c4b4e7 100644 --- a/Status/scripting/Status.sp +++ b/Status/scripting/Status.sp @@ -170,7 +170,7 @@ public Action Command_Status(int client, const char[] command, int args) else FormatEx(sPlayerState, sizeof(sPlayerState), "spawning"); - if(GetAdminFlag(GetUserAdmin(client), Admin_Root)) + if(GetAdminFlag(GetUserAdmin(client), Admin_RCON)) GetClientIP(player, sPlayerAddr, sizeof(sPlayerAddr)); PrintToConsole(client, "# %8s %40s %24s %12s %4s %4s %s %s",