The FiveM developer’s field guide
Know the native.
Build the world.
Engine functions, framework docs, and game assets.
One reference. From the first lookup to the last line.
knowledge base
Explore / FiveM
Native reference
- CAMfloat
GET_CAM_NEAR_CLIP
Description not yet documented
0xC520A34DAFBF24B1 - CAMfloat
_GET_CAM_NEAR_DOF
``` NativeDB Introduced: v2699 ```
0xC2612D223D915A1C - CAMVector3
GET_CAM_ROT
Gets a camera's rotation by handle (`cam`) lookup, outputs a `Vector3` in degrees.
0x7D304C1C955E3E12 - CAMint
GET_CAM_SPLINE_NODE_INDEX
Description not yet documented
0xB22B17DF858716A6 - CAMfloat
GET_CAM_SPLINE_NODE_PHASE
``` I'm pretty sure the parameter is the camera as usual, but I am not certain so I'm going to leave it as is. ```
0xD9D0E694C8282C96 - CAMfloat
GET_CAM_SPLINE_PHASE
``` Can use this with SET_CAM_SPLINE_PHASE to set the float it this native returns. (returns 1.0f when no nodes has been added, reached end of non existing spline) ```
0xB5349E36C546509A - CAMint
GET_CAM_VIEW_MODE_FOR_CONTEXT
See [`GET_FOLLOW_PED_CAM_VIEW_MODE`](#\_0x8D4D46230B2C353A) for the view mode enum.
0xEE778F8C7E1142E2 - CAMCam
_GET_DEBUG_CAMERA
``` NativeDB Introduced: v2372 ```
0x77C3CEC46BE286F6 - CAMVector3
GET_FINAL_RENDERED_CAM_COORD
Description not yet documented
0xA200EB1EE790F448 - CAMfloat
GET_FINAL_RENDERED_CAM_FAR_CLIP
Description not yet documented
0xDFC8CBC606FDB0FC - CAMfloat
GET_FINAL_RENDERED_CAM_FAR_DOF
Description not yet documented
0x9780F32BCAF72431 - CAMfloat
GET_FINAL_RENDERED_CAM_FOV
Description not yet documented
0x80EC114669DAEFF4 - CAMfloat
GET_FINAL_RENDERED_CAM_MOTION_BLUR_STRENGTH
Description not yet documented
0x162F9D995753DC19 - CAMfloat
GET_FINAL_RENDERED_CAM_NEAR_CLIP
Description not yet documented
0xD0082607100D7193 - CAMfloat
GET_FINAL_RENDERED_CAM_NEAR_DOF
Description not yet documented
0xA03502FC581F7D9B - CAMVector3
GET_FINAL_RENDERED_CAM_ROT
Description not yet documented
0x5B4E4C817FCC2DFB - CAMfloat
GET_FINAL_RENDERED_IN_WHEN_FRIENDLY_FOV
Description not yet documented
0x5F35F6732C3FBBA0 - CAMVector3
GET_FINAL_RENDERED_IN_WHEN_FRIENDLY_ROT
Description not yet documented
0x26903D9CD1175F2C - CAMfloat
GET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR
Description not yet documented
0x7EC52CC40597D170 - CAMPed
GET_FOCUS_PED_ON_SCREEN
Description not yet documented
0x89215EC747DF244A - CAMint
GET_FOLLOW_PED_CAM_VIEW_MODE
```cpp // view mode enumeration enum eCamViewMode { THIRD_PERSON_NEAR = 0, THIRD_PERSON_MEDIUM = 1, THIRD_PERSON_FAR = 2, CINEMATIC = 3, FIRST_PERSON = 4, }; ```
0x8D4D46230B2C353A - CAMint
GET_FOLLOW_PED_CAM_ZOOM_LEVEL
See [`GET_FOLLOW_PED_CAM_VIEW_MODE`](#\_0x8D4D46230B2C353A) for the follow mode enum.
0x33E6C8EFD0CD93E9 - CAMint
GET_FOLLOW_VEHICLE_CAM_VIEW_MODE
See [`GET_FOLLOW_PED_CAM_VIEW_MODE`](#\_0x8D4D46230B2C353A) for the follow mode enum.
0xA4FF579AC0E3AAAE - CAMint
GET_FOLLOW_VEHICLE_CAM_ZOOM_LEVEL
See [`GET_FOLLOW_PED_CAM_VIEW_MODE`](#\_0x8D4D46230B2C353A) for the follow mode enum.
0xEE82280AB767B690 - CAMVector3
GET_GAMEPLAY_CAM_COORD
Description not yet documented
0x14D6F5678D8F1B37 - CAMfloat
GET_GAMEPLAY_CAM_FOV
Description not yet documented
0x65019750A0324133 - CAMfloat
GET_GAMEPLAY_CAM_RELATIVE_HEADING
Description not yet documented
0x743607648ADD4587 - CAMfloat
GET_GAMEPLAY_CAM_RELATIVE_PITCH
Description not yet documented
0x3A6867B4845BEDA2 - CAMVector3
GET_GAMEPLAY_CAM_ROT
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.
0x837765A25378F0BB - CAMCam
GET_RENDERING_CAM
Description not yet documented
0x5234F9F10919EABA - CAMvoid
HARD_ATTACH_CAM_TO_ENTITY
Attaches a camera to an entity, including full matrix transformations for both rotation and position offsets. ``` NativeDB Introduced: v2189 ```
0x202A5ED9CE01D6E7 - CAMvoid
HARD_ATTACH_CAM_TO_PED_BONE
Attaches a camera to a specific bone of a Ped, including full matrix transformations for both rotation and position offsets. This native works with peds only. ``` NativeDB Introduced: v1180 ```
0x149916F50C34A40D - CAMvoid
IGNORE_MENU_PREFERENCE_FOR_BONNET_CAMERA_THIS_UPDATE
Description not yet documented
0x7B8A361C1813FBEF - CAMvoid
_INTERPOLATE_CAM_WITH_PARAMS
Interpolates the camera to specified parameters over a set duration using various curve types for position, rotation, and fov. ``` NativeDB Introduced: v3258 ```
0xDDA77EE33C005AAF - CAMvoid
INVALIDATE_IDLE_CAM
Resets the idle camera timer. Calling that in a loop once every few seconds is enough to disable the idle cinematic camera.
0xF4F2C0D4EE209E20 - CAMvoid
_INVALIDATE_VEHICLE_IDLE_CAM
Resets the vehicle idle camera timer. Calling this in a loop will disable the idle camera.
0x9E4CFFF989258472 - CAMBOOL
IS_AIM_CAM_ACTIVE
Description not yet documented
0x68EDDA28A5976D07 - CAMBOOL
_IS_AIM_CAM_THIRD_PERSON_ACTIVE
``` IS_A* ```
0x74BD83EA840F6BC9 - CAMBOOL
IS_ALLOWED_INDEPENDENT_CAMERA_MODES
Description not yet documented
0xEAF0FA793D05C592 - CAMBOOL
IS_BONNET_CINEMATIC_CAM_RENDERING
Description not yet documented
0xD7360051C885628B
A living reference. Documentation coverage varies by native and source.