FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
SET_FOLLOW_PED_CAM_THIS_UPDATE
(char* camName, int easeTime)
SET_FOLLOW_PED_CAM_VIEW_MODE
(int viewMode)
_SET_FOLLOW_TURRET_SEAT_CAM
(int seatIndex)
SET_FOLLOW_VEHICLE_CAM_VIEW_MODE
(int viewMode)
SET_FOLLOW_VEHICLE_CAM_ZOOM_LEVEL
(int zoomLevel)
SET_GAMEPLAY_CAM_FOLLOW_PED_THIS_UPDATE
(Ped ped)
_SET_GAMEPLAY_CAM_HASH
(char* camName)
_SET_GAMEPLAY_CAM_RAW_PITCH
(float pitch)
_SET_GAMEPLAY_CAM_RAW_YAW
(float yaw)
SET_GAMEPLAY_CAM_RELATIVE_HEADING
(float heading)
SET_GAMEPLAY_CAM_RELATIVE_PITCH
(float angle, float scalingFactor)
_SET_GAMEPLAY_CAM_RELATIVE_ROTATION
(float roll, float pitch, float yaw)
SET_GAMEPLAY_CAM_SHAKE_AMPLITUDE
(float amplitude)
_SET_GAMEPLAY_CAM_VEHICLE_CAMERA
(char* vehicleName)
_SET_GAMEPLAY_CAM_VEHICLE_CAMERA_NAME
(Hash vehicleModel)
SET_GAMEPLAY_COORD_HINT
(float x, float y, float z, int duration, int blendOutDuration, int blendInDuration, int unk)
SET_GAMEPLAY_ENTITY_HINT
(Entity entity, float xOffset, float yOffset, float zOffset, BOOL p4, int p5, int p6, int p7, Any p8)
_SET_GAMEPLAY_HINT_ANIM_CLOSEUP
(BOOL toggle)
_SET_GAMEPLAY_HINT_ANIM_OFFSETX
(float xOffset)
_SET_GAMEPLAY_HINT_ANIM_OFFSETY
(float yOffset)
SET_GAMEPLAY_HINT_BASE_ORBIT_PITCH_OFFSET
(float value)
SET_GAMEPLAY_HINT_FOLLOW_DISTANCE_SCALAR
(float value)