Got floats? - 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: Got floats? (
/showthread.php?tid=144473)
Got floats? -
-Rebel Son- - 27.04.2010
This isn't really a help question. im just wondering, what all can be floated? i know health, armour ammo vehicle health. But what else?
Re: Got floats? -
DeathOnaStick - 27.04.2010
Actually everything, if i'm not wrong. I don't understand the question that you have, cuz a float is just e.g. 1.34. If i'm not wrong you can put every integer into a float, but the question is if you always need to. Sry if a misunderstood ur question.
Re: Got floats? -
-Rebel Son- - 27.04.2010
No no, you understood correctly. i just wanted to know if all functions like "GetPlayerIp" or "GetPlayerName" and such can be used as a float.
Re: Got floats? -
DeathOnaStick - 27.04.2010
Quote:
Originally Posted by [N
BL!nk ]
No no, you understood correctly. i just wanted to know if all functions like "GetPlayerIp" or "GetPlayerName" and such can be used as a float.
|
Well... they cant. They are strings, and strings cant be transformed to floats =P
Re: Got floats? -
-Rebel Son- - 27.04.2010
Thanks, all i needed to know!