fix outdated admin flags

This commit is contained in:
BotoX 2018-08-09 04:13:27 +02:00
parent 8c484298e2
commit c439aa9086
2 changed files with 2 additions and 2 deletions

View File

@ -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)
{

View File

@ -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",