Input Dialog w/ String - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Input Dialog w/ String (
/showthread.php?tid=262347)
Input Dialog w/ String -
[RVRP]Tyler - 17.06.2011
I'm stumped right now, because I can't remember how to assign the inputtext of an input dialog to an array. Can anyone refresh my memory?
Basically, I'm trying to do this:
new string[128] = inputtext;
Re: Input Dialog w/ String -
DRIFT_HUNTER - 17.06.2011
you dont need to doo that...your inputtext is already string you just use it...
but if you want to do that you can try
pawn Код:
format(string,128,"%s",inputtext);
Re: Input Dialog w/ String -
Sasino97 - 17.06.2011
Or just
format(string, 128, inputtext);