07.04.2012, 04:10
What... No.
Create a function
In your code, use the function as follows
To check if the player is NOT an admin of that level
if(!Admin(playerid, 3))
Create a function
pawn Код:
stock Admin(playerid, level)
{
if(AccInfo[playerid][Level] >= level) return true;
return false;
}
pawn Код:
CMD:retard(playerid, params[])
{
if(Admin(playerid, 2))
{
//Party
}
}
if(!Admin(playerid, 3))