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
- CAMBOOL
IS_CAM_ACTIVE
``` Returns whether or not the passed camera handle is active. ```
0xDFB2B516207D3534 - CAMBOOL
IS_CAM_INTERPOLATING
Description not yet documented
0x036F97C908C2B52C - CAMBOOL
IS_CAM_PLAYING_ANIM
[Animations list](https://alexguirre.github.io/animations-list/)
0xC90621D8A0CEECF2 - CAMBOOL
IS_CAM_RENDERING
Description not yet documented
0x02EC0AF5C5A49B7A - CAMBOOL
IS_CAM_SHAKING
Description not yet documented
0x6B24BFE83A2BE47B - CAMBOOL
IS_CAM_SPLINE_PAUSED
Description not yet documented
0x0290F35C0AD97864 - CAMBOOL
IS_CINEMATIC_CAM_INPUT_ACTIVE
``` NativeDB Introduced: v1493 ```
0xF5F1E89A970B7796 - CAMBOOL
IS_CINEMATIC_CAM_RENDERING
Description not yet documented
0xB15162CB5826E9E8 - CAMBOOL
IS_CINEMATIC_CAM_SHAKING
Description not yet documented
0xBBC08F6B4CB8FF0A - CAMBOOL
IS_CINEMATIC_IDLE_CAM_RENDERING
Description not yet documented
0xCA9D2AA3E326D720 - CAMBOOL
IS_CINEMATIC_SHOT_ACTIVE
Description not yet documented
0xCC9F3371A7C28BC9 - CAMBOOL
IS_FIRST_PERSON_AIM_CAM_ACTIVE
Description not yet documented
0x5E346D934122613F - CAMBOOL
IS_FOLLOW_PED_CAM_ACTIVE
Description not yet documented
0xC6D3D26810C8E0F9 - CAMBOOL
IS_FOLLOW_VEHICLE_CAM_ACTIVE
Description not yet documented
0xCBBDE6D335D6D496 - CAMBOOL
IS_GAMEPLAY_CAM_LOOKING_BEHIND
Description not yet documented
0x70FDA869F3317EA9 - CAMBOOL
IS_GAMEPLAY_CAM_RENDERING
``` Examples when this function will return 0 are: - During busted screen. - When player is coming out from a hospital. - When player is coming out from a police station. - When player is buying gun from AmmuNation. ```
0x39B5D1B10383F0C8 - CAMBOOL
IS_GAMEPLAY_CAM_SHAKING
Description not yet documented
0x016C090630DF1F89 - CAMBOOL
IS_GAMEPLAY_HINT_ACTIVE
Description not yet documented
0xE520FF1AD2785B40 - CAMBOOL
_IS_IN_VEHICLE_CAM_DISABLED
Description not yet documented
0x4F32C0D5A90A9B40 - CAMBOOL
IS_SCREEN_FADED_IN
Description not yet documented
0x5A859503B0C08678 - CAMBOOL
IS_SCREEN_FADED_OUT
Description not yet documented
0xB16FCE9DDC7BA182 - CAMBOOL
IS_SCREEN_FADING_IN
Description not yet documented
0x5C544BC6C57AC575 - CAMBOOL
IS_SCREEN_FADING_OUT
Description not yet documented
0x797AC7CB535BA28F - CAMBOOL
IS_SCRIPT_GLOBAL_SHAKING
Determines if a global camera shake is currently active. You can stop the currently active global camera shake using [STOP_SCRIPT_GLOBAL_SHAKING](#\_0x1C9D7949FA533490). ``` NativeDB Introduced: v323 ```
0xC912AF078AF19212 - CAMBOOL
IS_SPHERE_VISIBLE
Description not yet documented
0xE33D59DA70B58FDF - CAMvoid
OVERRIDE_CAM_SPLINE_MOTION_BLUR
``` Max value for p1 is 15. ```
0x7DCF7C708D292D55 - CAMvoid
OVERRIDE_CAM_SPLINE_VELOCITY
Description not yet documented
0x40B62FA033EB0346 - CAMBOOL
PLAY_CAM_ANIM
``` Atleast one time in a script for the zRot Rockstar uses GET_ENTITY_HEADING to help fill the parameter. p9 is unknown at this time. p10 throughout all the X360 Scripts is always 2. ``` [Animations list](https://alexguirre.github.io/animations-list/)
0x9A2D0FB2E7852392 - CAMBOOL
PLAY_SYNCHRONIZED_CAM_ANIM
``` Examples: CAM::PLAY_SYNCHRONIZED_CAM_ANIM(l_2734, NETWORK::_02C40BF885C567B6(l_2739), "PLAYER_EXIT_L_CAM", "mp_doorbell"); CAM::PLAY_SYNCHRONIZED_CAM_ANIM(l_F0D[7/*1*/], l_F4D[15/*1*/], "ah3b_attackheli_cam2", "missheistfbi3b_helicrash"); ``` [Animations list](https://alexguirre.github.io/animations-list/)
0xE32EFE9AB4A9AA0C - CAMvoid
POINT_CAM_AT_COORD
Description not yet documented
0xF75497BB865F0803 - CAMvoid
POINT_CAM_AT_ENTITY
Points the camera at the specified entity. Offset works like [GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS](#\_0x1899F328B0E12848).
0x5640BFF86B16E8DC - CAMvoid
POINT_CAM_AT_PED_BONE
``` Parameters p0-p5 seems correct. The bool p6 is unknown, but through every X360 script it's always 1. Please correct p0-p5 if any prove to be wrong. ```
0x68B2B5F33BA63C41 - CAMvoid
RENDER_SCRIPT_CAMS
Renders the camera previously created with [CREATE_CAM](#\_0xC3981DCE61D9E13F) or [CREATE_CAMERA](#\_0x5E3CF89C6BCCA67D) ``` NativeDB Added Parameter 6: Any p5 ```
0x07E5B515DB0636FC - CAMfloat
_REPLAY_FREE_CAM_GET_MAX_RANGE
Description not yet documented
0x8BFCEB5EA1B161B6 - CAMvoid
SET_CAM_ACTIVE
``` Set camera as active/inactive. ```
0x026FB97D0A425F84 - CAMvoid
SET_CAM_ACTIVE_WITH_INTERP
``` Previous declaration void SET_CAM_ACTIVE_WITH_INTERP(Cam camTo, Cam camFrom, int duration, BOOL easeLocation, BOOL easeRotation) is completely wrong. The last two params are integers not BOOLs... ```
0x9FBDA379383A52A4 - CAMvoid
SET_CAM_AFFECTS_AIMING
``` Allows you to aim and shoot at the direction the camera is facing. ```
0x8C1DC7770C51DC8D - CAMvoid
SET_CAM_ANIM_CURRENT_PHASE
Description not yet documented
0x4145A4C44FF3B5A6 - CAMvoid
SET_CAM_CONTROLS_MINI_MAP_HEADING
Makes the minimap follow a scripted camera's rotation instead of the gameplay cam.
0x661B5C8654ADD825 - CAMvoid
SET_CAM_COORD
``` Sets the position of the cam. ```
0x4D41783FB745E42E
A living reference. Documentation coverage varies by native and source.