skin cmd
#3

pawn Код:
if(strcmp(cmd, "/skin", true) == 0)
{
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
        SendClientMessage(playerid, red, "Usage: /skin [skinid]");
        return 1;
    }
    new skin;
    skin = strval(tmp);
    if(skin > 299 || skin < 1) return SendClientMessage(playerid, COLOR_GREY, "Invalid skin ID!");
    format(string, sizeof(string), "You have changed your skin to this skin ID: %d", skin);
    SendClientMessage(playerid, COLOR_GREEN, string);
    SetPlayerSkin(playerid, skin);
    return 1;
}
Reply


Messages In This Thread
skin cmd - by P<3TS - 26.07.2012, 00:08
Re : skin cmd - by vernz - 26.07.2012, 00:32
Re: skin cmd - by misticini - 26.07.2012, 00:35
Re: skin cmd - by Devilxz97 - 26.07.2012, 00:40
Re: skin cmd - by P<3TS - 26.07.2012, 01:00
Re: skin cmd - by Devilxz97 - 26.07.2012, 01:11
Re: skin cmd - by P<3TS - 26.07.2012, 01:11
Re: skin cmd - by Devilxz97 - 26.07.2012, 01:14
Re : skin cmd - by chuck005 - 26.07.2012, 01:58

Forum Jump:


Users browsing this thread: 1 Guest(s)