SetFollowPedCamThisUpdate
Docslocal retval = SetFollowPedCamThisUpdate(camName, easeTime)Description
Overrides the ped follow camera (not first person camera) with the specified camera. The game loads all camera metadata from update/update.rpf/x64/data/metadata/cameras.ymt and x64a.rpf/data/metadata/cameras.ymt with the ped follow cameras being of type camFollowPedCameraMetadata.
| Follow Camera Names |
|---|
DEFAULT_FOLLOW_PED_CAMERA |
FOLLOW_PED_ATTACHED_TO_ROPE_CAMERA |
FOLLOW_PED_ON_EXILE1\_LADDER_CAMERA |
FOLLOW_PED_SKY_DIVING_CAMERA |
FOLLOW_PED_SKY_DIVING_FAMILY5\_CAMERA |
NIGHTCLUB_FOLLOW_PED_CAMERA |
FOLLOW_PED_INTIMIDATION_CAMERA |
FOLLOW_PED_IN_WATER_CAMERA |
FOLLOW_PED_PRONE_CAMERA |
FOLLOW_PED_ON_SEAT_CAMERA |
FOLLOW_PED_HANGING_UPSIDE_DOWN_CAMERA |
FOLLOW_PED_ATTACHED_TO_ROPE_CAMERA |
CUSTOM_TRANSITION_AFTER_WARP_SKY_DIVE_CAMERA |
FOLLOW_PED_ON_HORSE_CAMERA |
FOLLOW_PED_ON_LOUNGER_CAMERA |
// 0x5DBBFB6E
// 0xA38DB056
// 0x16B702A3
// 0x41D72A2EParameters
| Name | Type | Description |
|---|---|---|
camName | char* | The name of the camera to use this update |
easeTime | int | The time in milliseconds to ease in the camera |
Ped Models

mp_m_freemode_01
player_zero
ig_agatha
s_m_y_cop_01
s_m_m_gaffer_01
g_m_m_armboss_01
a_c_boar
a_m_m_bevhills_01Returns
BOOLReturns TRUE (1) or FALSE (0).
Examples
Official
CreateThread(function()
while true do
SetFollowPedCamThisUpdate("FOLLOW_PED_ATTACHED_TO_ROPE_CAMERA", 500) -- Zoomed out the ped camera
Wait(0)
end
end)