FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_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)
SET_CAM_SPLINE_NODE_EXTRA_FLAGS
(Cam cam, int p1, int flags)
SET_CAM_SPLINE_NODE_VELOCITY_SCALE
(Cam cam, int p1, float scale)
SET_CAM_SPLINE_PHASE
(Cam cam, float p1)
SET_CAM_SPLINE_SMOOTHING_STYLE
(Cam cam, int smoothingStyle)
SET_CAM_USE_SHALLOW_DOF_MODE
(Cam cam, BOOL toggle)
SET_CAM_VIEW_MODE_FOR_CONTEXT
(int context, int viewMode)
SET_CINEMATIC_BUTTON_ACTIVE
(BOOL p0)
SET_CINEMATIC_CAM_SHAKE_AMPLITUDE
(float p0)
SET_CINEMATIC_MODE_ACTIVE
(BOOL toggle)
SET_CINEMATIC_NEWS_CHANNEL_ACTIVE_THIS_UPDATE
()
SET_FIRST_PERSON_AIM_CAM_NEAR_CLIP_THIS_UPDATE
(float distance)
SET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR
(float zoomFactor)
_SET_FIRST_PERSON_CAM_PITCH_RANGE
(float minAngle, float maxAngle)
SET_FLY_CAM_COORD_AND_CONSTRAIN
(Cam cam, float x, float y, float z)
SET_FLY_CAM_HORIZONTAL_RESPONSE
(Cam cam, float p1, float p2, float p3)
SET_FLY_CAM_MAX_HEIGHT
(Cam cam, float height)
_SET_FLY_CAM_VERTICAL_SPEED_MULTIPLIER
(Cam cam, float p1, float p2, float p3)