General: Change Root permission into RCON.
Since w/ RCON you can do it over console anyway..
This commit is contained in:
parent
a7e88cdeab
commit
6b37afd8de
@ -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))
|
||||
{
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user