fix outdated admin flags
This commit is contained in:
parent
8c484298e2
commit
c439aa9086
@ -347,7 +347,7 @@ public Action Command_Weapon(int client, int argc)
|
|||||||
if(client >= 1)
|
if(client >= 1)
|
||||||
{
|
{
|
||||||
AdminId id = GetUserAdmin(client);
|
AdminId id = GetUserAdmin(client);
|
||||||
int superadmin = GetAdminFlag(id, Admin_Custom3);
|
int superadmin = GetAdminFlag(id, Admin_Cheats);
|
||||||
|
|
||||||
if(!superadmin)
|
if(!superadmin)
|
||||||
{
|
{
|
||||||
|
@ -170,7 +170,7 @@ public Action Command_Status(int client, const char[] command, int args)
|
|||||||
else
|
else
|
||||||
FormatEx(sPlayerState, sizeof(sPlayerState), "spawning");
|
FormatEx(sPlayerState, sizeof(sPlayerState), "spawning");
|
||||||
|
|
||||||
if(GetAdminFlag(GetUserAdmin(client), Admin_Custom3))
|
if(GetAdminFlag(GetUserAdmin(client), Admin_RCON))
|
||||||
GetClientIP(player, sPlayerAddr, sizeof(sPlayerAddr));
|
GetClientIP(player, sPlayerAddr, sizeof(sPlayerAddr));
|
||||||
|
|
||||||
PrintToConsole(client, "# %8s %40s %24s %12s %4s %4s %s %s",
|
PrintToConsole(client, "# %8s %40s %24s %12s %4s %4s %s %s",
|
||||||
|
Loading…
Reference in New Issue
Block a user