Command, need a little help
#3

You mean like this?
pawn Код:
CMD:skin(playerid,params[])
{
   new skinid;
   if(sscanf(params,"i",skinid)) return SendClientMessage(playerid, 0xFF0000FF, "Usage: /skin [skin id]");
   if(skinid < 0 || skinid > 299) return SendClientMessage(playerid, 0xFF0000, "Invalid skin id");
   if(skinid == 165) return SendClientMessage(playerid, 0xFF0000FF, "You cannot use this skin"); //Here, it checks whether the skinid choosen is 165 or not.
Reply


Messages In This Thread
Command, need a little help - by UnknownGamer - 05.10.2012, 02:02
Re: Command, need a little help - by Passout - 05.10.2012, 02:16
Re: Command, need a little help - by Lordzy - 05.10.2012, 02:18
Respuesta: Command, need a little help - by hotspicytaco - 05.10.2012, 02:30

Forum Jump:


Users browsing this thread: 1 Guest(s)