dialog not working - 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 not working (
/showthread.php?tid=333881)
dialog not working -
Matthewaj - 13.04.2012
When I use the rcon command /adm the first dialog pops up but on the menu there's other options that will bring up other dialogs and the other dialogs wont appear after I select them please help.
Code:
http://pastebin.com/w1j8w6LB
Re: dialog not working -
Mark™ - 13.04.2012
Quote:
Originally Posted by Matthewaj
When I use the rcon command /adm the first dialog pops up but on the menu there's other options that will bring up other dialogs and the other dialogs wont appear after I select them please help.
Code:
http://pastebin.com/w1j8w6LB
|
You havn't defined your dialog with a unique dialog id in your script, so probably other dialogs are getting called.
Re: dialog not working -
Matthewaj - 13.04.2012
You mean define it like this?
Код:
#define DIALOG_ONE (0001)
#define DIALOG_TWO (0002)
#define DIALOG_THREE (0003)
Re: dialog not working -
MadeMan - 14.04.2012
Are you using any filterscripts? Check if all of them have return 0 at the end of OnDialogResponse.
And this topic belongs to Scripting Discussion ->
http://forum.sa-mp.com/forumdisplay.php?f=12