From c439aa9086199d26aafc08ecbfda7253e360341c Mon Sep 17 00:00:00 2001 From: BotoX Date: Thu, 9 Aug 2018 04:13:27 +0200 Subject: [PATCH] fix outdated admin flags --- 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 6adbe7e0..58dc3f36 100644 --- a/ExtraCommands/scripting/ExtraCommands.sp +++ b/ExtraCommands/scripting/ExtraCommands.sp @@ -347,7 +347,7 @@ public Action Command_Weapon(int client, int argc) if(client >= 1) { AdminId id = GetUserAdmin(client); - int superadmin = GetAdminFlag(id, Admin_Custom3); + int superadmin = GetAdminFlag(id, Admin_Cheats); if(!superadmin) { diff --git a/Status/scripting/Status.sp b/Status/scripting/Status.sp index 59829d92..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_Custom3)) + if(GetAdminFlag(GetUserAdmin(client), Admin_RCON)) GetClientIP(player, sPlayerAddr, sizeof(sPlayerAddr)); PrintToConsole(client, "# %8s %40s %24s %12s %4s %4s %s %s",