SA-MP Forums Archive
[Help] Trig Help - 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: [Help] Trig Help (/showthread.php?tid=112413)



[Help] Trig Help - [Marevin*] - 07.12.2009

The idea is to generate the points of a circumference.
The timer should in every half a second a new point. But it doesn't. Why?

http://pastebin.com/d7920f269

Greetz.


Re: [Help] Trig Help - [Marevin*] - 07.12.2009

Sorry for the bump.


Re: [Help] Trig Help - Finn - 07.12.2009

for(new angle, counter; angle < 360.0; angle += 0.5, counter++)

angle is a float, isn't it?

Fixed:
for(new Float:angle, counter; angle < 360.0; angle += 0.5, counter++)


Re: [Help] Trig Help - [Marevin*] - 08.12.2009

Thanks ALOT!!! =)