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



Interfering Dialogs - anumaz - 20.03.2011

Hi,

I have a problem that I tried to solve but I couldn't find how and why it was happening. Let me state the items related to the problem.

-GarHouse FS => Dynamic house system with dialogs
-reg-admin-system FS => Registration/login & admin system with dialogs

The problem is that, the dialogs in GarHouse are popping up but are closing and not doing anything when I press an option of them - that only happens when "reg-admin-system" is loaded.

reg-admin-system -> http://pastebin.com/Y32KYGNX

GarHouse -> http://pastebin.com/33DY9Byx

If it's unclear or if you need any other info, please tell me. I really need help!


Re: Interfering Dialogs - airsoft - 20.03.2011

Change the dialog ids on the dialogs


Re: Interfering Dialogs - Ironboy - 20.03.2011

Yes right it is your dialog id problem.


Re : Re: Interfering Dialogs - anumaz - 20.03.2011

Quote:
Originally Posted by airsoft
Посмотреть сообщение
Change the dialog ids on the dialogs
Wait, how? and like, what is a "dialog id" ?


Re: Interfering Dialogs - grand.Theft.Otto - 20.03.2011

Quote:
►Frequenly Asked Questions
Question: When I try to buy a house the dialog just dissapears!
Answer: This can be fixed by either:
a) Placing GarHouse first in the filterscripts line.
b) 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.

Quoted right from Garsino's FAQ's.

This should solve it 100% Guarantee.