/skin Command
#2

Here you go mate:
pawn Код:
COMMAND:skin(playerid, params[])
{
    new skinid;
    if(!sscanf(params, "i",skinid))
    {
        if(skinid < 300)
        {
            SetPlayerSkin(playerid, skinid);
            SendClientMessage(playerid, COLOR_WHITE," You have new skin!! Wooho!");
        }
        else return SendClientMessage(playerid, COLOR_LIGHTRED,"Please use skin ID's between 0 and 299!");
    }
    else return SendClientMessage(playerid, COLOR_WHITE,"Usage: /skin [ID (0-299)]");
    return 1;
}
This is rough example. You should code it a little bit more if you want to solve all the bugs that comes with that command.
Reply


Messages In This Thread
/skin Command - by Immortal_LTU - 27.02.2011, 08:01
Re: /skin Command - by xRyder - 27.02.2011, 09:03
Re: /skin Command - by Calgon - 27.02.2011, 09:05
Re: /skin Command - by xRyder - 27.02.2011, 09:15
Re: /skin Command - by Calgon - 27.02.2011, 09:16
Re: /skin Command - by Immortal_LTU - 27.02.2011, 12:23
Re: /skin Command - by Immortal_LTU - 27.02.2011, 13:22

Forum Jump:


Users browsing this thread: 1 Guest(s)