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



Little help - Micko123 - 02.06.2016

Okay so i am working with DIALOG_STYLE_INPUT. I am just wondering how can i take their answer from input??


Re: Little help - Crayder - 02.06.2016

OnDialogResponse

Parameters you need:
'response' - true if player typed anything and pushed positive button or enter key, false if else
'inputtext' - text the player typed if anything at all



Though, I tend to use includes like y_dialog and easyDialog to make things easier. Not completely relative to your situation but could be useful information to make your life easier.


Re: Little help - Micko123 - 02.06.2016

Okay thank you . I did it