SA-MP Forums Archive
Floatsin, Floatcos, Floattan - 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: Floatsin, Floatcos, Floattan (/showthread.php?tid=248758)



Floatsin, Floatcos, Floattan - Jochemd - 15.04.2011

Hey

I was wondering why you should use these functions (I know what they do, yeah, I know Sinus, Cosine and Tangent...). But what I mean is; For what can I use such things? I don't see any reason for them...

Jochem


Re: Floatsin, Floatcos, Floattan - Skylar Paul - 15.04.2011

It's for trigonometry, which is used for advanced math formulas. I'm assuming you could get angles, distances from points, and a lot of other junk -- If you know the formulas, that is.


Re: Floatsin, Floatcos, Floattan - DarrenReeder - 15.04.2011

Quote:
Originally Posted by Skylar Paul
Посмотреть сообщение
It's for trigonometry, which is used for advanced math formulas. I'm assuming you could get angles, distances from points, and a lot of other junk -- If you know the formulas, that is.
^^ This... Its the same as "sin", "cos", "tan" on your calculator


Re: Floatsin, Floatcos, Floattan - Jochemd - 15.04.2011

Yeah, I said I knew what it was etc. but not why you should use it in SA-MP


Re: Floatsin, Floatcos, Floattan - Skylar Paul - 15.04.2011

Quote:
Originally Posted by Skylar Paul
Посмотреть сообщение
It's for trigonometry, which is used for advanced math formulas. I'm assuming you could get angles, distances from points, and a lot of other junk -- If you know the formulas, that is.
4char.