dialog don't 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 don't work.. (
/showthread.php?tid=600353)
dialog don't work.. -
Karolukas123 - 06.02.2016
Hey, i have one big bug.. a lot of my dialog just don't work.. dialogid normal, code normal. but still.. how fix it.. where can be problem ?
Re: dialog don't work.. -
itsCody - 07.02.2016
We don't know your problem, maybe post the code so people can find it?
May be a start.
Re: dialog don't work.. -
FreAkeD - 07.02.2016
Your dialog ids might be interfering because they may be the same with other scripts, try returning 0 on OnDialogResponse.
Re: dialog don't work.. -
Karolukas123 - 07.02.2016
Quote:
Originally Posted by itsCody
We don't know your problem, maybe post the code so people can find it?
May be a start.
|
How can i post code if i don't know where the problem.. ?? one dialog work, one don't.. The id, or else not problem.. because i test in new gamemode it work.
Re: dialog don't work.. -
FreAkeD - 07.02.2016
https://sampwiki.blast.hk/wiki/OnDialogResponse
Returning 0 in this callback will pass the dialog to another script in case no matching code were found in your gamemode's callback.
Re: dialog don't work.. -
Karolukas123 - 07.02.2016
Quote:
Originally Posted by FreAkeD
|
Thank you, it works. fix the problem

)