alt.Player.local.headRot

Get the player's head rotation.

Syntax

readonly headRot: number;

Example Usage

const vector3Rotation = alt.Player.local.headRot;
alt.log(JSON.stringify(vector3Rotation, null, '\t'));

alt.Player.local can also be a player instance from server

results matching ""

    No results matching ""