convertion form float to int - 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: convertion form float to int (
/showthread.php?tid=264923)
convertion form float to int -
Roko_foko - 28.06.2011
Is there a way how you convert Float to Intiger? in Dev C we do: ' (int)Float_Variable' , but I tried it here and it sends me Error saying: ' error 017: undefined symbol "int" ', even though int is in blue colour it recognizes it as a variable.
Thanks in advance.
Re: convertion form float to int -
Shadoww5 - 28.06.2011
https://sampwiki.blast.hk/wiki/Floatround
Re: convertion form float to int -
Roko_foko - 28.06.2011
Thank you