OnDialogResponse problem - 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: OnDialogResponse problem (
/showthread.php?tid=463298)
OnDialogResponse problem -
Bogdan1992 - 11.09.2013
Do you have anyidea how i can solve this?
Re: OnDialogResponse problem -
Bogdan1992 - 11.09.2013
Oh never mind, i solved it.
Re: OnDialogResponse problem -
Konstantinos - 11.09.2013
The only thing we know is that OnDialogResponse crashes your server. If you're using the version 4.10, then update to
4.11.2 and do what this
post says. Re-compile your script and run your server.
If the server gets crashed again, then show us what it prints (I hope it gives some information).
If it prints pretty much the same thing, you'll need to debug your code.
EDIT: I just saw your second post.
Re: OnDialogResponse problem -
Bogdan1992 - 11.09.2013
It was from this
Код:
ShowPlayerDialog( playerid, 1, DIALOG_STYLE_MSGBOX, "", string, "Ok", "" );
If that is empty it might crash your server.