Help Me Dialog With More Dialog...
#6

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 1)
    {
        if(response == 1)
        {
            if(listitem == 0)
            {
                ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "gCars", "Bikes\nBoats\nCars\nFactionCars\nFlans", "Select", "Close");
            }
            if(listitem == 1)
            {
                ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "gWeapons", "9mm\ns9mm\nDesert Eagle\nShotgun\nSawoffShotgun\nCombat Shotgun\nUzi\nMp5\nAK-47\nNext Page", "Select", "Close");
            }
        }
    }
    return 1;
}
fixed and tested, you should really learn how to script
the problem was you where doing this

}
showplayerdialog bla bla bla
}
you see the brackets?
it should be like this
{
showplayerdialog
}
Reply


Messages In This Thread
Help Me Dialog With More Dialog... - by xganyx - 19.06.2013, 23:07
Re: Help Me Dialog With More Dialog... - by SwisherSweet - 19.06.2013, 23:20
Re: Help Me Dialog With More Dialog... - by xganyx - 19.06.2013, 23:29
Re: Help Me Dialog With More Dialog... - by SwisherSweet - 19.06.2013, 23:31
Re: Help Me Dialog With More Dialog... - by xganyx - 19.06.2013, 23:37
Re: Help Me Dialog With More Dialog... - by SwisherSweet - 19.06.2013, 23:41
Re: Help Me Dialog With More Dialog... - by xganyx - 19.06.2013, 23:45
Re: Help Me Dialog With More Dialog... - by SwisherSweet - 19.06.2013, 23:51
Re: Help Me Dialog With More Dialog... - by xganyx - 20.06.2013, 00:10
Re: Help Me Dialog With More Dialog... - by SwisherSweet - 20.06.2013, 00:22

Forum Jump:


Users browsing this thread: 6 Guest(s)