09.03.2010, 14:43
You should be more specific in your post then.
Not tested
I've not yet used the style
But it should be similar to the list one.
EDIT -
I just went and tested it.
This basicly shows a message..
So you could use...
So basicly when you choose either one of the buttons (In my case, I just put both to "Cancel")
It will hide the Dialog.
Not tested
Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == DIALOG_ID_HERE && response) { // If he responded // do ST00F } return 1; }
Code:
DIALOG_STYLE_MSGBOX
EDIT -
I just went and tested it.
This basicly shows a message..
So you could use...
Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == DIALOG_ID_HERE && response) { return 1; } return 1; }
It will hide the Dialog.