Costumes Halloween
#2

PHP код:
#define HALLOWEN 105
CMD:hallowenskin(playerid,params[]
{
    
ShowPlayerDialog(playerid,HALLOWEN,DIALOG_STYLE_LIST,"Halloween skins","Skin1 /nSkin2 /nSkin3","Select","Cance");
    return 
1;
}
public 
OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == HALLOWEN)
    {
        if(
response
        {
            
            switch(
listitem)
            {
                case 
0SetPlayerSkin(playeridSKINID);
                case 
1SetPlayerSkin(playeridSKINID);
                case 
2SetPlayerSkin(playeridSKINID);
            }
        }
        return 
1
    }
    return 
0

I don't know if i messed up the parameters, but just make sure you change the "SKINID" to the ID you want your skin.
Reply


Messages In This Thread
Costumes Halloween - by xXGabyGabiXx - 14.10.2017, 07:34
Re: Costumes Halloween - by Escobabe - 14.10.2017, 07:48
Re: Costumes Halloween - by xXGabyGabiXx - 14.10.2017, 08:24

Forum Jump:


Users browsing this thread: 1 Guest(s)