06.08.2010, 20:10
Hello, i am working on a .map to pawn converter, but i got a problem.
When i read the rotations out of the .map file it is like this:
Example:
If i turn that to to pawn code as rotation
My converted line:
then the rotations are weird/not working. However the readed x,y,z are fine, only the rotations arent.
But if i convert it with convertFFS the rotations are completely different !
serverFFS:
Any idea how to get the right rotation for pawn ? i am working on a converter that ALSO converts checkpoints! The first converter that ever does that for so far i know. So i need to get this working
When i read the rotations out of the .map file it is like this:
Example:
Код:
<rotation>-1.660796 0.000000 0.000000</rotation>
My converted line:
pawn Код:
CreateObject,ID,x,y,z,-1.660796 0.000000 0.000000);
But if i convert it with convertFFS the rotations are completely different !
serverFFS:
pawn Код:
CreateObject(ID,x,y,z,0.00000000,0.00000000,-95.15660143);
![Sad](images/smilies/sad.gif)