24.02.2012, 06:27
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");