Command to change skin
#8

This one need zcmd and sscanf:
pawn Код:
CMD:setskin(playerid, params[])
{
    new level, id;
    if(sscanf(params, "dd", id, level)) return SendClientMessage(playerid, WHITE, "{FF0000}USAGE:{FFFFFF}  /setskin [playerid] [skin id]");
    {
        if(level > 299 || level < 1) return SendClientMessage(playerid, GREY, "Invalid skin ID!");
        SetPlayerSkin(id, level);
    }
    return 1;
}
Reply


Messages In This Thread
Command to change skin - by Aram555 - 17.01.2010, 02:48
Re: Command to change skin - by Miguel - 17.01.2010, 03:00
Re: Command to change skin - by Kostas' - 25.09.2011, 13:15
Re: Command to change skin - by dice7 - 25.09.2011, 13:30
Re: Command to change skin - by Kostas' - 25.09.2011, 15:08
Re: Command to change skin - by MA_proking - 25.09.2011, 16:53
Re: Command to change skin - by Kostas' - 25.09.2011, 18:27
Re: Command to change skin - by Kingunit - 25.09.2011, 18:37
Re: Command to change skin - by Kostas' - 25.09.2011, 19:12
Re: Command to change skin - by SantarioLeone - 26.09.2011, 01:31

Forum Jump:


Users browsing this thread: 5 Guest(s)