/guide
#4

To make another Dialog pop up, use the response on OnDialogResponse.

Example:
Код:
#define DIALOG_ID 1

OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == DIALOG_ID)
	{
		if(response)
		{
			//Code here if the player presses THE FIRST BUTTON (next in your case)
		}
		if(!response)
		{
			//Code here if the player presses THE SECOND BUTTON (by default if this is not used, the dialog is closed down if this is pressed!
		}
	}	
		
}

CMD:yolo(playerid, params[])
{
	ShowPlayerDialog(playerid, DIALOG_ID, ...rest of the information...);
	return 1;
}
Reply


Messages In This Thread
/guide - by thebeta - 19.12.2013, 06:55
Re: /guide - by thebeta - 19.12.2013, 08:40
Re: /guide - by thebeta - 23.12.2013, 11:30
Re: /guide - by Hansrutger - 23.12.2013, 11:48
Re: /guide - by thebeta - 23.12.2013, 11:50

Forum Jump:


Users browsing this thread: 2 Guest(s)