get the vehicle angle

Started by [GoD]sinner, Jun 25, 2015, 01:43 PM

Previous topic - Next topic

[GoD]sinner

HI guys when doing player.Vehicle.Angle i get (-0.11111,-0.2222,-0.10100,0.22211)
not getting the angle can some one help me please.

EK.IceFlake

Quote from: [GoD]sinner on Jun 25, 2015, 01:43 PMHI guys when doing player.Vehicle.Angle i get (-0.11111,-0.2222,-0.10100,0.22211)
not getting the angle can some one help me please.
use Vehicle.EulerAngle.z it will return a float

[GoD]sinner

in the server.conf file it says
<Vehicle model="132" x="91.2412" y="242.9259" z="21.4487" angle="127.1787" col1="6" col2="6"/>

i want to find the angle in degrees like in above angle="127.1787"

Thijn

angle is invalid in 0.4, Use rotx, roty and rotz instead.