14.06.2011, 07:22
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:
Also, the error occurs because you can't use "continue" in that way - continue is for loops and is not for general code use.
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", "");
}
}