SA-MP Forums Archive
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: Dialogs (/showthread.php?tid=241291)



Dialogs - Anteino - 17.03.2011

Hi all,

in the past i've made a dialog to buy cars. But now when I make a new dialog, the system fails :S. This means if I make a new filterscript with an ondialogresponse in it, it will be ignored, instead the system will look in the ondialogresponse in the first filterscript. My basic complain is:

Why can't I make two different filterscripts with an ondialogresponse on it?


Re: Dialogs - grand.Theft.Otto - 17.03.2011

Making sure that you have return 0; at the end of OnDialogResponse in all of your scripts which uses the SA:MP 0.3 dialogs. Else; that is what causes it to be ignored.