Calculating xangle? (rotx) ?
#11

Ding, wrong variable

heading is the ZAngle (Yaw)
attitude is the Roll Angle
bank is the Pitch Angle

And than you forgot GetVehiclePos

Here your wanted code
pawn Code:
new Float:x2, Float:y2, Float:z2, Float:bank;
GetVehicleRotation(id, x2, y2, bank);
GetVehiclePos(id, x2, y2, z2); // dont change the order!
GetXYZOfVehicle(id, x2, y2, z2, bank, 120.0);
Reply


Messages In This Thread
Calculating xangle? (rotx) ? - by Kar - 23.08.2011, 20:26
Re: Calculating xangle? (rotx) ? - by Backwardsman97 - 23.08.2011, 20:30
Re: Calculating xangle? (rotx) ? - by Kar - 23.08.2011, 20:42
Re: Calculating xangle? (rotx) ? - by Kar - 24.08.2011, 20:39
Re: Calculating xangle? (rotx) ? - by Kar - 26.08.2011, 06:02
Re: Calculating xangle? (rotx) ? - by Babul - 26.08.2011, 11:06
Re: Calculating xangle? (rotx) ? - by Lorenc_ - 26.08.2011, 11:32
Re: Calculating xangle? (rotx) ? - by Pinguinn - 26.08.2011, 11:34
AW: Calculating xangle? (rotx) ? - by Nero_3D - 26.08.2011, 15:00
Re: Calculating xangle? (rotx) ? - by Kar - 28.08.2011, 09:40
AW: Re: Calculating xangle? (rotx) ? - by Nero_3D - 28.08.2011, 13:42
Re: Calculating xangle? (rotx) ? - by Kar - 28.08.2011, 14:11

Forum Jump:


Users browsing this thread: 2 Guest(s)