How should i???
#7

Quote:
Originally Posted by jot16
Посмотреть сообщение
mistake was?
You did OnDialogResponse Wrong.

Your:
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
         return 1;
}
 
{
It was suppose to be

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == SKINMENU && response)
    {
        switch(listitem)
                {
            case 0:
            {
                SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
                GivePlayerWeapon(playerid, 3, 1000);
                SetPlayerColor(playerid,0x24FF0AB9);
                SetPlayerSkin(playerid, 105);
            }
            case 1:
            {
                SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
                GivePlayerWeapon(playerid, 23, 1000);
                SetPlayerColor(playerid,0xC2A2DAAA);
                                SetPlayerSkin(playerid, 102);
            }
            case 2:
            {
                SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
                GivePlayerWeapon(playerid,23, 1000);
                                SetPlayerColor(playerid, 0xFF9900AA);
                                SetPlayerSkin(playerid, 114);
            }
            case 3:
            {
                SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
                GivePlayerWeapon(playerid, 23, 1000);
                SetPlayerColor(playerid, 0xFF66FFAA);
                SetPlayerSkin(playerid, 117);
            }
        }
        return 1;
    }
    return 0;
}
Also under a case you had two {
Reply


Messages In This Thread
How should i??? - by jot16 - 03.08.2011, 03:08
Re: How should i??? - by Basicz - 03.08.2011, 03:15
Re: How should i??? - by Famalamalam - 03.08.2011, 03:16
Re: How should i??? - by jot16 - 03.08.2011, 03:24
Re: How should i??? - by Shockey HD - 03.08.2011, 03:27
Re: How should i??? - by jot16 - 03.08.2011, 03:28
Re: How should i??? - by Shockey HD - 03.08.2011, 03:31

Forum Jump:


Users browsing this thread: 2 Guest(s)