01.02.2014, 10:14
My Code:
Its not working... -.-
pawn Код:
CMD:setlevel(playerid, params[])
{
new pID;
if(pInfo[playerid][Adminlevel] >= 5)
{
if(!IsPlayerConnected(pID)) return SendClientMessage(playerid, COLOR_RED, "Player is not connected.");
{
new amount;
if (sscanf(params, "ud", pID,amount)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /setlevel [id] [amount]");
INI_WriteInt(file,"AdminLevel",pInfo[pID][Adminlevel]);
}
return 1;
}
return 1;
}