SA-MP Forums Archive
Problem with simple and dialog scripts - 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: Problem with simple and dialog scripts (/showthread.php?tid=445010)



Problem with simple and dialog scripts - Kittylol - 19.06.2013

Hello i have problem with my dialogs and simple commands.When i install some kind of Dialog and start the server,the simple commands don't work but dialogs work.Then i uninstall that one dialog and start server again and all simple commands work.It is with some dialogs.For me it is most of dialogs.Yesterday i installed Vehicle spawning dialog and started the server.And when i writed simple commands (some for test) they didn't work,they just did nothing.Does i need to write all these dialogs in gamemode,to make them work properly or simple commands in gamemode ?


Re: Problem with simple and dialog scripts - Lordzy - 19.06.2013

It's because your dialogs crash with the other dialogs. Make sure that you specify the dialog ids well and different one for different dialogs. (Which are called under OnDialogResponse).


Re: Problem with simple and dialog scripts - Kittylol - 19.06.2013

So i need to change these #define DIALOGID ,like they had their numbers ?