Strlen 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Strlen help? (
/showthread.php?tid=180169)
Strlen help? -
sekol - 30.09.2010
Okey. I want
PHP код:
dini_IntSet(file, "Pochodzenie", *here*(inputtext));
Save inputtext to a file. But i don't know to use "strlen" or what? When i use strlen it saves it as integer, not a text.
Re: Strlen help? -
[XST]O_x - 30.09.2010
Why strlen? strlen returns the length of a specified string, in your case, inputtext.
pawn Код:
dini_Set(file, "Pochodzenie", inputtext);
Also, dini_IntSet sets integers into a file, use dini_Set to set strings into a file.
Re: Strlen help? -
sekol - 30.09.2010
Thanks. (8char) :"D
Re: Strlen help? -
LarzI - 30.09.2010
I think you thought about 'strval', not 'strlen'