SA-MP Forums Archive
Dialog responses - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Dialog responses (/showthread.php?tid=526459)



Dialog responses - mkdim9z6 - 17.07.2014

My dialog responses in filter scripts don't work.

See this example

admin system in filter script: http://pastebin.com/K3tgp8mg
admin system in gamemode: http://pastebin.com/r3JzJcbC

when I want to register;
In Gamemode, it says to enter a password, I enter it, then it tells me that I successfully registered and it creates the user file.

In Filterscript, it says to enter a password, I enter it, but it doesn't tell me that I successfully registered and it doesn't create the user file.


Re: Dialog responses - Konstantinos - 17.07.2014

OnDialogResponse callback should return 0 at the end in every script and make sure that the dialog IDs are unique so they won't conflict.


Re: Dialog responses - mkdim9z6 - 17.07.2014

no more than 2 filterscripts with dialogs are working