dialog not working
#1

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
Reply
#2

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.
Reply
#3

You mean define it like this?

Код:
#define DIALOG_ONE      (0001)
#define DIALOG_TWO      (0002)
#define DIALOG_THREE    (0003)
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)