GetGameplayCamRot — FiveM Natives
0x837765A25378F0BB · CAM · all
This function takes a rotation order and outputs a Vector3 in degrees. It first calls a game function to calculate these values given the rotation order and effectively multiplies those values by 180/PI, hence degrees since the function it calls outputs radians which are then converted to degrees.
Parameters
| Name | Type | Description |
|---|---|---|
| rotationOrder | int | The order of rotation, see [`GET_ENTITY_ROTATION`](#\_0xAFBD61CC738D9EB9) |
Returns
Vector3