Showing 2 dialogs
#6

You really should look up pages on the Wiki prior to creating a help thread.

https://sampwiki.blast.hk/wiki/OnDialogResponse

OnDialogResponse handles all dialog responses, you can't just add 2 dialogs and expect the second one to show up after the first one in some random lines of code, you need to handle the response in OnDialogResponse and in that callback, send the next dialog, so:

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
if(dialogid == 60) {
// your code for dialog 60
ShowPlayerDialog(playerid, 3, DIALOG_STYLE_INPUT, "{6EF83C}Enter your email.", "Input Your Email Below", "Ok", "");
}
}
Also, the error occurs because you can't use "continue" in that way - continue is for loops and is not for general code use.
Reply


Messages In This Thread
Showing 2 dialogs - by Face9000 - 13.06.2011, 20:42
Re: Showing 2 dialogs - by Ash. - 13.06.2011, 20:45
Re: Showing 2 dialogs - by Face9000 - 13.06.2011, 22:23
Re: Showing 2 dialogs - by PotH3Ad - 14.06.2011, 00:01
Re: Showing 2 dialogs - by Face9000 - 14.06.2011, 07:00
Re: Showing 2 dialogs - by Calgon - 14.06.2011, 07:22

Forum Jump:


Users browsing this thread: 1 Guest(s)