/setlevel prob
#1

My Code:

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;
}
Its not working... -.-
Reply


Messages In This Thread
/setlevel prob - by James Coral - 01.02.2014, 10:14
Re: /setlevel prob - by ScripteRMKD - 01.02.2014, 10:31
Re: /setlevel prob - by CuervO - 01.02.2014, 10:57
Re: /setlevel prob - by James Coral - 01.02.2014, 11:16

Forum Jump:


Users browsing this thread: 3 Guest(s)