Dialog issues Message box with pages
#6

Try this :

PHP код:
ShowPlayerDialog(playerid1DIALOG_STYLE_MSGBOX"Put your title here""Put your description here""Close""Next Page");
public 
OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == 1//Insert your dialogid here, for this tutorial I will put "1"
    
{
        if(!
response//Since the Next Page button is on the right, I will use !response
        
{
            
ShowPlayerDialog(playerid2DIALOG_STYLE_MSGBOX"Put your title here""Put your description here""Close""Next Page"); //This will show the next page after you click the Next Page button
        
}
        return 
1// We handled a dialog, so return 1. Just like OnPlayerCommandText.
    
}
    return 
0// You MUST return 0 here! Just like OnPlayerCommandText.

Reply


Messages In This Thread
Dialog issues Message box with pages - by Mobtiesgangsa - 24.09.2017, 22:08
Re: Dialog issues Message box with pages - by Puff - 25.09.2017, 10:50
Re: Dialog issues Message box with pages - by STRIKER19501 - 25.09.2017, 16:45
Re: Dialog issues Message box with pages - by Mobtiesgangsa - 25.09.2017, 16:58
Re: Dialog issues Message box with pages - by STRIKER19501 - 25.09.2017, 17:12
Re: Dialog issues Message box with pages - by AfiqIqbal - 25.09.2017, 18:29
Re: Dialog issues Message box with pages - by kAn3 - 25.09.2017, 22:42
Re: Dialog issues Message box with pages - by SetPlayerNameTag - 26.09.2017, 02:35

Forum Jump:


Users browsing this thread: 1 Guest(s)