SA-MP Forums Archive
Dialog response problem - 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: Dialog response problem (/showthread.php?tid=228135)



Dialog response problem - Swiftz - 19.02.2011

My dialog response dont work if i have some dialogs in my filterscripts. There is no error in the dialogs of filterscripts. They work fine for others, But why every dialog works in my gm but dialog response dont work of my dialogs in fs.
Please help thanks!!

Here is my ondialogresponse code please help thanks!!

http://pastebin.com/4u2KiPdA


Re: Dialog response problem - Backwardsman97 - 19.02.2011

Make sure you're putting the right dialog id in when you're showing the dialog.


Re: Dialog response problem - Rachael - 19.02.2011

as far as I know, the OnDialogResponse in your GM will be called first, and if you return 0; in this, then the script will look in filterscripts for a valid response.

Either way, experimenting with return 0 and return 1 might help you to find the problem.


Re: Dialog response problem - Swiftz - 19.02.2011

Can you post the correct script in pastebin thanks!1


Re: Dialog response problem - Swiftz - 19.02.2011

I use correct dialog ids please help


Re: Dialog response problem - Swiftz - 20.02.2011

I have replaced them with return 0 still dont work help!