SA-MP Forums Archive
Getting a 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)
+--- Thread: Getting a string (/showthread.php?tid=388681)



Getting a string - thefatshizms - 29.10.2012

How do i get a string form a variable etc like strtok

Which one is it?


Re: Getting a string - thefatshizms - 30.10.2012

Don't worry, I didn't explain enough, basicly I was try to load a string from a database and asign it to a variable but I was using the wrong one (strval) so it was turning it to null (int). I looked on wiki again and used strlen and it worked