FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
IS_GAMEPLAY_CAM_LOOKING_BEHIND
()
IS_GAMEPLAY_CAM_RENDERING
()
IS_GAMEPLAY_CAM_SHAKING
()
IS_GAMEPLAY_HINT_ACTIVE
()
_IS_IN_VEHICLE_CAM_DISABLED
()
IS_SCREEN_FADED_IN
()
IS_SCREEN_FADED_OUT
()
IS_SCREEN_FADING_IN
()
IS_SCREEN_FADING_OUT
()
IS_SCRIPT_GLOBAL_SHAKING
()
IS_SPHERE_VISIBLE
(float x, float y, float z, float radius)
OVERRIDE_CAM_SPLINE_MOTION_BLUR
(Cam cam, int p1, float p2, float p3)
OVERRIDE_CAM_SPLINE_VELOCITY
(Cam cam, int p1, float p2, float p3)
PLAY_CAM_ANIM
(Cam cam, char* animName, char* animDictionary, float x, float y, float z, float xRot, float yRot, float zRot, BOOL p9, int p10)
PLAY_SYNCHRONIZED_CAM_ANIM
(Cam camera, int scene, char* animName, char* animDictionary)
POINT_CAM_AT_COORD
(Cam cam, float x, float y, float z)
POINT_CAM_AT_ENTITY
(Cam cam, Entity entity, float offsetX, float offsetY, float offsetZ, BOOL p5)
POINT_CAM_AT_PED_BONE
(Cam cam, Ped ped, int boneIndex, float x, float y, float z, BOOL p6)
RENDER_SCRIPT_CAMS
(BOOL render, BOOL ease, int easeTime, BOOL easeCoordsAnim, BOOL p4)
_REPLAY_FREE_CAM_GET_MAX_RANGE
()
SET_CAM_ACTIVE
(Cam cam, BOOL active)
SET_CAM_ACTIVE_WITH_INTERP
(Cam camTo, Cam camFrom, int duration, int easeLocation, int easeRotation)
SET_CAM_AFFECTS_AIMING
(Cam cam, BOOL toggle)
SET_CAM_ANIM_CURRENT_PHASE
(Cam cam, float phase)
SET_CAM_CONTROLS_MINI_MAP_HEADING
(Cam cam, BOOL toggle)
SET_CAM_COORD
(Cam cam, float posX, float posY, float posZ)
SET_CAM_DEBUG_NAME
(Cam camera, char* name)
_SET_CAM_DOF_FNUMBER_OF_LENS
(Cam camera, float p1)
_SET_CAM_DOF_FOCAL_LENGTH_MULTIPLIER
(Cam camera, float multiplier)
_SET_CAM_DOF_FOCUS_DISTANCE_BIAS
(Cam camera, float p1)
_SET_CAM_DOF_MAX_NEAR_IN_FOCUS_DISTANCE
(Cam camera, float p1)
_SET_CAM_DOF_MAX_NEAR_IN_FOCUS_DISTANCE_BLEND_LEVEL
(Cam camera, float p1)
SET_CAM_DOF_PLANES
(Cam cam, float p1, float p2, float p3, float p4)
SET_CAM_DOF_STRENGTH
(Cam cam, float dofStrength)
_SET_CAM_EFFECT
(int p0)