24.05.2015, 22:17
Look at this:
https://sampwiki.blast.hk/wiki/GetVehicleRotationQuat
One of this is your rotation in the first picture (I haven't checked which one it is). Calculate the Z angle of the new position with an inversed TAN.
https://sampwiki.blast.hk/wiki/GetVehicleRotationQuat
One of this is your rotation in the first picture (I haven't checked which one it is). Calculate the Z angle of the new position with an inversed TAN.