dialog
#2

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(dialogid)
    {
        case RACENAMEDIALOG:
        {
            //Do Stuff Here
            ShowPlayerDialog(playerid, TELEPORTDIALOG, DIALOG_STYLE_INPUT, "Teleport Command:", "Type The Name Of The Teleport (No Spaces):", "Next", "Cancel");
        }
        case TELEPORTDIALOG:
        {
            //do stuff here
            ShowPlayerDialog(playerid, PRIZEMONEYDIALOG, DIALOG_STYLE_LIST, "Prize Money", "$10,000\n$20,000\n$30,000\n$40,000\n$50,000\n$100,000\n$250,000\n$500,000", "Next", "Cancel");
        }
A part of my race filterscript. The way I did it is simply added ShowPlayerDialog within OnDialogResponse.
Reply


Messages In This Thread
dialog - by oscar7610 - 30.04.2012, 23:14
Re: dialog - by Yuryfury - 01.05.2012, 00:59
Re: dialog - by warcodes_ - 01.05.2012, 06:13

Forum Jump:


Users browsing this thread: 1 Guest(s)