Vehicle Angle

Started by Hoss, Sep 02, 2017, 05:52 PM

Previous topic - Next topic

Hoss

Hello, I needed some help with vehicle angles

When i use vehicle.Angle to check a vehicle's angle , i get value in this format: (0.0156597, -0.023772, 0.718616, 0.694825) (x,y,z,w)

but in the CreateVehicle function a single value is required

CreateVehicle( model, world, pos, angle, col1, col2 )

Can someone please tell me what angle to use in CreateVehicle. Thanks!

D4rkR420R

Just try to identify the angle by player.Angle.


Hoss

Quote from: DarkRaZoR^ on Sep 02, 2017, 05:56 PMJust try to identify the angle by player.Angle.

player angle doesn't update when player is inside a vehicle

Quote from: ysc3839 on Sep 03, 2017, 02:20 AMhttp://forum.vc-mp.org/?topic=2304.msg16877#msg16877
Thanks a lot!