General: Change Root permission into RCON.

Since w/ RCON you can do it over console anyway..
This commit is contained in:
zaCade 2018-07-07 14:34:48 +02:00
parent a7e88cdeab
commit 6b37afd8de
2 changed files with 2 additions and 2 deletions

View File

@ -346,7 +346,7 @@ public Action Command_Weapon(int client, int argc)
if(client >= 1) 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)) if(StrEqual(sWeapon, "weapon_c4", false) || StrEqual(sWeapon, "weapon_smokegrenade", false) || StrEqual(sWeapon, "item_defuser", false))
{ {

View File

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