Whats Wrong?
#4

pawn Код:
if(sscanf(params, "ui", id, AdminLevel2)) return SendClientMessage(playerid, COLOR_GREEN, "USAGE: /makeadmin [PlayerId/PartOfName] [AdminLevel]");
    if(!IsPlayerConnected(id)) return SendClientMessage(playerid, COLOR_RED, "Player Is Not Connected");
    if(PlayerInfo[playerid][AdminLevel] < 5 || !IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_RED, "You're not RCON Admin,You must be RCON Admin to use this COMMAND");
    if((AdminLevel2 == 0 || AdminLevel2 > 5) return SendClientMessage(playerid, COLOR_GREEN, "Avaliable Levels: 1-5");
oops.try this
Reply


Messages In This Thread
Whats Wrong? - by Littlehelper - 24.02.2012, 05:41
Re: Whats Wrong? - by emokidx - 24.02.2012, 06:12
Re: Whats Wrong? - by Littlehelper - 24.02.2012, 06:20
Re: Whats Wrong? - by emokidx - 24.02.2012, 06:27
Re: Whats Wrong? - by Littlehelper - 24.02.2012, 06:36
Re: Whats Wrong? - by emokidx - 24.02.2012, 06:45

Forum Jump:


Users browsing this thread: 1 Guest(s)