SA-MP Forums Archive
How to change dialog on pressing " Next " button in Diialog_style_msgbox - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to change dialog on pressing " Next " button in Diialog_style_msgbox (/showthread.php?tid=531165)



How to change dialog on pressing " Next " button in Diialog_style_msgbox - SpikY_ - 11.08.2014

Removed!! i have fix it


Re: How to change dialog on pressing " Next " button in Diialog_style_msgbox - SKAzini - 11.08.2014

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 0) //modify dialog id
    {
        if(response) // If they clicked 'Select' or pressed enter
        {
            switch(listitem)
            {
                case 0: //do whatever (the first item in the list dialog)
                case 1: //do whatever (the second item in the list dialog)
            }
        }
        else // Pressed ESC or clicked back
        {
            //show the previous dialog
        }
        return 1;
    }
 
    return 0;
}



Re: How to change dialog on pressing " Next " button in Diialog_style_msgbox - SpikY_ - 11.08.2014

Thx i done it myself