SA-MP Forums Archive
help in OnDialogResponse - 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: help in OnDialogResponse (/showthread.php?tid=641898)



help in OnDialogResponse - TahaMhr - 22.09.2017

for example, there is a command box(dcmd), and I want another command that does the same thing, I can use "return dcmd_box(playerid,params);" and it works properly, but when I want a dialog to execute the same command, "return dcmd_box(playerid,params);" it gives an error "(13614) : error 017: undefined symbol "params", why is it so? any other way to do this?






Re: help in OnDialogResponse - Kane - 22.09.2017

Just replace it with empty quotation marks.

(i.e: return dcmd_box(playerid, "");)


Re: help in OnDialogResponse - TahaMhr - 22.09.2017

Quote:
Originally Posted by Arthur Kane
Посмотреть сообщение
Just replace it with empty quotation marks.

(i.e: return dcmd_box(playerid, "")
Thanks alot bro.