How to change dialog on pressing " Next " button in Diialog_style_msgbox
#1

Removed!! i have fix it
Reply
#2

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;
}
Reply
#3

Thx i done it myself
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)