Quote:
Originally Posted by Xsyiaris
pawn Код:
CMD:setlevel(playerid,params[]) { new ID, level; if(pInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid,COLOR_WHITE,"{B30000}[ERROR] {FFFFFF}You don't have access to this command."); if(sscanf(params,"ui", ID, level)) { SendClientMessage(playerid,COLOR_WHITE,"{B30000}[ERROR] {FFFFFF}USAGE: /setlevel [playerid] [Level]"); return 1; } pInfo[ID][pAdmin] = level; return 1; }
Correction for the post above.
|
I don't see any issue - "i" works perfect as I use it..
"u" just means the username/ID, but it's optional.