alt.Player.local.headRot
Get the player's head rotation.
Syntax
readonly headRot: number;
Real World Example
const vector3Rotation = alt.Player.local.headRot;
alt.log(JSON.stringify(vector3Rotation, null, '\t'));
alt.Player.local can also be a player instance from server