Sin and cos
#1

Hi guys. I have a big problem, I try create clock speedometer, I have seen filterscritps but I don't understant this:
(this calculate new x, y for textdraw, dependent of speed). I know, I can use done scripts, but I want create my own.

PHP код:
NewX StartPosX + (dist floatsin(alphadegrees));
NewY StartPosY + (dist floatcos(alphadegrees)); 
I have no idea how this works. When I can use floatsin and floatcos? How can I use this? Please explain me how this works.

Ps. sorry for broken english, this is not my native language.
Reply


Messages In This Thread
Sin and cos - by Reek - 11.07.2015, 17:30
Re : Sin and cos - by KillerDVX - 12.07.2015, 03:16
Re: Sin and cos - by Reek - 12.07.2015, 12:17

Forum Jump:


Users browsing this thread: 3 Guest(s)