SA-MP Forums Archive
Dialog doesnt work - 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)
+--- Thread: Dialog doesnt work (/showthread.php?tid=295018)



Dialog doesnt work - BloodGuy - 04.11.2011

hi i downloaded a house system, this one;
http://forum.sa-mp.com/showthread.ph...t=House+system

But i can do /housemenu, then the dialog comes but when i press a next option the dialog just dissapears.
What can be the problem?


Re: Dialog doesnt work - Calgon - 04.11.2011

In your gamemode, look for the OnDialogResponse() callback and make sure at the end of it all, it returns 0 instead of 1.

The problem is that the response isn't called, and returning 1 in OnDialogResponse doesn't allow anything to be passed to filterscripts, which the house system is, so it won't be able to react to what you've entered/responded with.


Re: Dialog doesnt work - BloodGuy - 07.11.2011

I already had that, but still doesnt work
Suggestions?


Re: Dialog doesnt work - Michael@Belgium - 07.11.2011

Try another dialog id