inputtext - 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: inputtext (
/showthread.php?tid=447285)
inputtext -
Muhamed.pwn - 29.06.2013
Hey..
I'm using 'inputtext' to get the name of the listitem in a dialog (DIALOG_STYLE_LIST)
Everything works fine for now but inputtext prints with a space a the end.
ex.
Code:
format(str,sizeof(str),"%s.ini",inputtext);
it prints (the string is = Apple)
with a space at the end so I can't get it to work.
How do I get it not to print a " " ?
Re: inputtext -
McBan - 29.06.2013
Try not to use a capital, If So, Try press TAB and fix it in the PWN code
Re: inputtext -
Muhamed.pwn - 29.06.2013
Fixed myself, thanks.