FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_GAMEPLAY_CAM_COORD
()
GET_GAMEPLAY_CAM_FOV
()
GET_GAMEPLAY_CAM_RELATIVE_HEADING
()
GET_GAMEPLAY_CAM_RELATIVE_PITCH
()
GET_GAMEPLAY_CAM_ROT
(int rotationOrder)
GET_RENDERING_CAM
()
HARD_ATTACH_CAM_TO_ENTITY
(Cam cam, Entity entity, float xRot, float yRot, float zRot, float xOffset, float yOffset, float zOffset, BOOL isRelative)
HARD_ATTACH_CAM_TO_PED_BONE
(Cam cam, Ped ped, int boneIndex, float xRot, float yRot, float zRot, float xOffset, float yOffset, float zOffset, BOOL isRelative)
_INTERPOLATE_CAM_WITH_PARAMS
(Cam camera, float camPosX, float camPosY, float camPosZ, float camRotX, float camRotY, float camRotZ, float fov, int duration, int posCurveType, int rotCurveType, int rotOrder, int fovCurveType)
INVALIDATE_IDLE_CAM
()
_INVALIDATE_VEHICLE_IDLE_CAM
()
IS_AIM_CAM_ACTIVE
()
_IS_AIM_CAM_THIRD_PERSON_ACTIVE
()
IS_BONNET_CINEMATIC_CAM_RENDERING
()
IS_CAM_ACTIVE
(Cam cam)
IS_CAM_INTERPOLATING
(Cam cam)
IS_CAM_PLAYING_ANIM
(Cam cam, char* animName, char* animDictionary)
IS_CAM_RENDERING
(Cam cam)
IS_CAM_SHAKING
(Cam cam)
IS_CAM_SPLINE_PAUSED
(Any p0)
IS_CINEMATIC_CAM_INPUT_ACTIVE
()
IS_CINEMATIC_CAM_RENDERING
()
IS_CINEMATIC_CAM_SHAKING
()
IS_CINEMATIC_IDLE_CAM_RENDERING
()
IS_CINEMATIC_SHOT_ACTIVE
(Any p0)
IS_FIRST_PERSON_AIM_CAM_ACTIVE
()
IS_FOLLOW_PED_CAM_ACTIVE
()
IS_FOLLOW_VEHICLE_CAM_ACTIVE
()
IS_GAMEPLAY_CAM_LOOKING_BEHIND
()
IS_GAMEPLAY_CAM_RENDERING
()
IS_GAMEPLAY_CAM_SHAKING
()
IS_GAMEPLAY_HINT_ACTIVE
()
_IS_IN_VEHICLE_CAM_DISABLED
()
IS_SCREEN_FADED_IN
()
IS_SCREEN_FADED_OUT
()