I'm trying to figure out how to record the angle at which a player is facing at any given time. Or am I misunderstanding the purpose of GetVectorAngles? I'm using this value outside of the game, so using any other built in functions to do something with the vector is useless to me.
Code:
decl Float:vec[3], Float:ang[3];
GetClientEyeAngles(client, vec);
GetVectorAngles(vec, ang);
// ang[1] now contains an angle 0-359 degrees for 'y')
Essentially, I need the direction as a degree and not a vector.
Thanks.
__________________