MTA Map editor rotation to samp - 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: MTA Map editor rotation to samp (
/showthread.php?tid=79129)
MTA Map editor rotation to samp -
bhdevil - 25.05.2009
I will make a program that the mta map editor object rotation convert
to samp filterscript rotation.
How can i calculate the angeles?
Map editor(radian)

..?
Thanx the answers
For example:
CreateObject(5463, -2937.015381, 2200.126953, 20.153173,
0.0000, 0.0000, 90.0000);
<rotation>
1.570796 0.000000 0.000000</rotation>
I can't convert it.
Please help !
Re: MTA Map editor rotation to samp -
Weirdosport - 25.05.2009
Divide by (2*pi), times by 360.
Or, you could just times the radians by 57.2957795 to get the degrees.
Re: MTA Map editor rotation to samp -
bhdevil - 25.05.2009
Thanx man
It was successful.