20.01.2011, 16:49
Change
to
Код:
if(sscanf(params, "ud",playerid, Level)) return SendClientMessage(playerid, COLOR_RED, "|| Usage: /setlevel [playerid] [level] ||"); if(Player[playerid][admin] == Level) return SendClientMessage(playerid, COLOR_RED, "ERROR: That player is moderator already!");
Код:
if(sscanf(params, "ud",pID, Level)) return SendClientMessage(playerid, COLOR_RED, "|| Usage: /setlevel [playerid] [level] ||"); if(Player[pID][admin] == Level) return SendClientMessage(playerid, COLOR_RED, "ERROR: That player is moderator already!");