10.07.2012, 20:39
Sure, try this:
pawn Code:
new
Float: fAZ
;
GetVehicleZAngle(vehicleid, fAZ);
atan2(y - DestY, x - DestX) - fAZ - 180.0;