FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
CREATE_CAMERA_WITH_PARAMS
(Hash camHash, float posX, float posY, float posZ, float rotX, float rotY, float rotZ, float fov, BOOL active, int rotationOrder)
CREATE_CINEMATIC_SHOT
(Any p0, int p1, Any p2, Entity entity)
CUSTOM_MENU_COORDINATES
(float p0)
DESTROY_ALL_CAMS
(BOOL bScriptHostCam)
DESTROY_CAM
(Cam cam, BOOL bScriptHostCam)
DETACH_CAM
(Cam cam)
DISABLE_AIM_CAM_THIS_UPDATE
()
_DISABLE_CAM_COLLISION_FOR_ENTITY
(Entity entity)
DISABLE_CAM_COLLISION_FOR_OBJECT
(Entity entity)
_DISABLE_FIRST_PERSON_CAM_THIS_FRAME
()
_DISABLE_VEHICLE_FIRST_PERSON_CAM_THIS_FRAME
()
DO_SCREEN_FADE_IN
(int duration)
DO_SCREEN_FADE_OUT
(int duration)
DOES_CAM_EXIST
(Cam cam)
_ENABLE_CROSSHAIR_THIS_FRAME
()
FORCE_CINEMATIC_RENDERING_THIS_UPDATE
(BOOL p0)
_GET_CAM_ACTIVE_VIEW_MODE_CONTEXT
()
GET_CAM_ANIM_CURRENT_PHASE
(Cam cam)
GET_CAM_COORD
(Cam cam)
_GET_CAM_DOF_STRENGTH
(Cam cam)
GET_CAM_FAR_CLIP
(Cam cam)
GET_CAM_FAR_DOF
(Cam cam)
GET_CAM_FOV
(Cam cam)
GET_CAM_NEAR_CLIP
(Cam cam)
_GET_CAM_NEAR_DOF
(Cam cam)
GET_CAM_ROT
(Cam cam, int rotationOrder)
GET_CAM_SPLINE_NODE_INDEX
(Cam cam)
GET_CAM_SPLINE_NODE_PHASE
(Cam cam)
GET_CAM_SPLINE_PHASE
(Cam cam)
GET_CAM_VIEW_MODE_FOR_CONTEXT
(int context)
_GET_DEBUG_CAMERA
()
GET_FINAL_RENDERED_CAM_COORD
()
GET_FINAL_RENDERED_CAM_FAR_CLIP
()
GET_FINAL_RENDERED_CAM_FAR_DOF
()
GET_FINAL_RENDERED_CAM_FOV
()