23.12.2013, 11:48
To make another Dialog pop up, use the response on OnDialogResponse.
Example:
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; }