#1

Hey how i make a simple skin command!
Like tihis when player write /skin then he see /skin [SkinID].

Any ideas?
Reply
#2

look this

Код:
if(strcmp(cmd, "/skin", true) == 0)
    {
        new tmp[256];
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid, 0xAA3333AA, "Usage: /skin [skinid]");
            return 1;
        }
        new skin;
        skin = strval(tmp);
        new string[128];
        format(string, sizeof(string), "You change your skin to this skin ID: %d", skin);
        SendClientMessage(playerid, 0xFFFF00AA, string);
        SetPlayerSkin(playerid, skin);
        return 1;
	}
Reply
#3

Ok tnks.
Reply
#4

did it work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)