FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
SET_GAMEPLAY_HINT_FOV
(float FOV)
SET_GAMEPLAY_OBJECT_HINT
(Any p0, float p1, float p2, float p3, BOOL p4, Any p5, Any p6, Any p7)
SET_GAMEPLAY_PED_HINT
(Ped p0, float x1, float y1, float z1, BOOL p4, int duration, int blendOutDuration, int blendInDuration)
SET_GAMEPLAY_VEHICLE_HINT
(Vehicle vehicle, float offsetX, float offsetY, float offsetZ, BOOL p4, int time, int easeInTime, int easeOutTime)
SET_IN_VEHICLE_CAM_STATE_THIS_UPDATE
(Vehicle p0, int p1)
SET_TABLE_GAMES_CAMERA_THIS_UPDATE
(Hash hash)
SET_THIRD_PERSON_AIM_CAM_NEAR_CLIP_THIS_UPDATE
(float distance)
SET_USE_HI_DOF
()
_SET_USE_HI_DOF_IN_CUTSCENE
()
SET_WIDESCREEN_BORDERS
(BOOL p0, int p1)
SHAKE_CAM
(Cam cam, char* type, float amplitude)
SHAKE_CINEMATIC_CAM
(char* p0, float p1)
SHAKE_GAMEPLAY_CAM
(char* shakeName, float intensity)
SHAKE_SCRIPT_GLOBAL
(char* p0, float p1)
STOP_CAM_POINTING
(Cam cam)
STOP_CAM_SHAKING
(Cam cam, BOOL p1)
STOP_CINEMATIC_CAM_SHAKING
(BOOL p0)
STOP_CINEMATIC_SHOT
(Hash p0)
STOP_CUTSCENE_CAM_SHAKING
()
STOP_GAMEPLAY_CAM_SHAKING
(BOOL bStopImmediately)
STOP_GAMEPLAY_HINT
(BOOL bStopImmediately)
STOP_RENDERING_SCRIPT_CAMS_USING_CATCH_UP
(BOOL bShouldApplyAcrossAllThreads, float distanceToBlend, int blendType)