SA-MP Forums Archive
Dialogs wont open, need help! - 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: Dialogs wont open, need help! (/showthread.php?tid=417673)



Dialogs wont open, need help! - Silverclaw - 22.02.2013

Hello, I'm new.
And I have a question because my 2 filterscripts wont work together.
I made a vehicle Spawner with a Dialogs and a Tuning Script with Dialogs.
The problem is, when only the vehicle Spawner Filterscript is activitated it works, but if I activate the tuning script too I can open the spawner dialog but when I want to select a sub-dialog it just closes the dialog.
Do you know where the problem is?


Re: Dialogs wont open, need help! - Scenario - 22.02.2013

Your dialog ID's are colliding. Meaning that you're showing dialog ID 0 in one script, but in the other script, dialog ID 0 is a completely different dialog. You can use #define NAME # to define dialog ID's, rather than handling numbers.


Re: Dialogs wont open, need help! - Silverclaw - 22.02.2013

Nope, I already checked that. My Dialog ID's arent matching.
Thats because in the Tuning Script there arent any Dialogs for now. Its just a blank filterscript.
I didn't want to start before I know how to get this to work.


Re: Dialogs wont open, need help! - Silverclaw - 26.02.2013

push, nobody?


Re: Dialogs wont open, need help! - Scenario - 26.02.2013

Show both of your OnDialogResponse callbacks.