Dialogs..... help needed - 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: Dialogs..... help needed (
/showthread.php?tid=156515)
Dialogs..... help needed -
introzen - 23.06.2010
I got those dialogs... It's a tutorial and login...
http://pastebin.com/n13fGWJ9
But for some reason, when I click continue on the first Tutorial dialog, the next doesn't show up....
help please.
Re: Dialogs..... help needed -
NiiRV4N4 - 23.06.2010
Your code is too messed up in pastebin.com, it's too hard to read. I'm guessing it's you forgot to put ShowPlayerDialog.
Re: Dialogs..... help needed -
introzen - 23.06.2010
No, It has showplayerdialog
Re: Dialogs..... help needed -
hk_shade - 23.06.2010
Try to add "900" before all of the dialog id, e.g. 9001,9002,etc., or some others.
I've faced the same problem before, and I found that there're some other dialogs in other fs/gm have the same dialog id.This will cause problems on OnDialogResponse.
I hope it will be solved in the later versions of the server.
Re: Dialogs..... help needed -
introzen - 23.06.2010
Did not help with adding 900... And I have no more showplayerdialogs in FS's or anything
gamemode is 100% created by me so I would know...
Re: Dialogs..... help needed -
DJDhan - 23.06.2010
In some places you check
and don't check for
and vice-versa in other parts.
So here the thing; check for
in starting of every dialog and use
Код:
if(!response) // or "else"
after it.