how to get a float of a string?
#1

hi, I'd like to know whether it is possible (and if yes how) to get a float of a string..
I'm searching for a function similar to "strval" just for floats..
So the string1 is for example "1521.1634"
string 2 "2623.272343" and string 3 "1513.15136"
how could I get it into Float, Float:y and Float:z?
Reply
#2

pawn Код:
floatstr( sz );
https://sampwiki.blast.hk/wiki/Floatstr
Reply
#3

thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)