SA-MP Forums Archive
cases & dialogs - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: cases & dialogs (/showthread.php?tid=235463)



cases & dialogs - xir - 05.03.2011

Hi.

The msgbox pops up, but when I click next page, ntohing happends? :S

Here is the code, i took out of dialogresponse

pawn Код:
case 6:
            {
                ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "Rules Part 1 out of 2", "Testttt...", "Next Page", "Cancel");
            }
        }
        if(dialogid == 5)
        {
            if(response)
            {
                ShowPlayerDialog(playerid, 6, DIALOG_STYLE_MSGBOX, "Rules Part 2 out of 2", "Testttttttttttt", "Ok", "Back");
            }
            else if(!response)
            {
               return 1;
            }
        }



Re: cases & dialogs - Jeffry - 05.03.2011

www.pastebin.com

Give me the full OnDialogResponse, then I can fix it. (You can PM it to me if you dont want it to be public).