sscanf makeadmin
#2

pawn Код:
new
    id,
    level;

if (sscanf(params, "ri", id, level)) return SendClientMessage(playerid, -1, "Usage: /setlevel <ID/Part Of Name> <level>");
...
if (!(1 <= level <= 4) && level != 1337 && level != 1338) return SendClientMessage(playerid, -1, "Valid levels: 1-4, 1337, 1338");
...
Reply


Messages In This Thread
sscanf makeadmin - by CH | FuDo - 01.02.2014, 17:46
Re: sscanf makeadmin - by Konstantinos - 01.02.2014, 17:50

Forum Jump:


Users browsing this thread: 1 Guest(s)