Quote:
Originally Posted by RogueDrifter
hang on you made a mistake on your CMD, first of all if you did this:
PHP код:
if(eUser[playerid][e_USER_ADMIN_LEVEL] == 0) return SendClientMessage(playerid, COLOR_ERROR, "You are not a administrator!");
you dont need this:
PHP код:
if(eUser[playerid][e_USER_ADMIN_LEVEL] >= 1)
{
and then you need to use sscanf before you actually get to the cmd so use the one 1fret posted.
|
What's wrong with having two checks? If not admin return message if you're a admin of that level... continue with the command.