FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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 p3, 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)
SET_CAM_FAR_CLIP
(Cam cam, float farClip)
SET_CAM_FAR_DOF
(Cam cam, float farDOF)
SET_CAM_FOV
(Cam cam, float fieldOfView)
SET_CAM_INHERIT_ROLL_VEHICLE
(Cam cam, BOOL p1)
SET_CAM_MOTION_BLUR_STRENGTH
(Cam cam, float strength)
SET_CAM_NEAR_CLIP
(Cam cam, float nearClip)
SET_CAM_NEAR_DOF
(Cam cam, float nearDOF)
SET_CAM_PARAMS
(Cam cam, float posX, float posY, float posZ, float rotX, float rotY, float rotZ, float fieldOfView, int transitionSpeed, int p9, int p10, int rotationOrder)
SET_CAM_ROT
(Cam cam, float rotX, float rotY, float rotZ, int rotationOrder)
SET_CAM_SHAKE_AMPLITUDE
(Cam cam, float amplitude)
SET_CAM_SPLINE_DURATION
(Cam cam, int timeDuration)
SET_CAM_SPLINE_NODE_EASE
(Cam cam, int p1, int p2, float p3)