PDA

View Full Version : Question: How to control the vehicle's facing angle?


KfirRP
18/01/2012, 11:43 AM
I want to make the vehicle's facing angle equal to the character's facing angle.

Look: The user uses /v park .. Then I want to 'remember' the facing angle, so next time the car spawns it will spawn with the same facing angle he was at and not facing the north.

Bogdan1992
18/01/2012, 11:48 AM
GetVehicleZAngle(vehicleid, Float:z_Angle)

SetVehicleZAngle(vehicleid, Float:z_Angle)