RedM Natives

SET_GAMEPLAY_CAM_FOLLOW_PED_THIS_UPDATE

Forces gameplay cam to specified ped as if you were the ped or spectating it

Hash0x82E41D6ADE924FCA
Runtime nameSetGameplayCamFollowPedThisUpdate
NamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x8BBACBF51DA047A8

Signature

void SET_GAMEPLAY_CAM_FOLLOW_PED_THIS_UPDATE(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns void

Description

Forces gameplay cam to specified ped as if you were the ped or spectating it

Usage

Lua
SetGameplayCamFollowPedThisUpdate(ped)

-- always works, by hash
Citizen.InvokeNative(0x82E41D6ADE924FCA, ped)
JavaScript and C#
JavaScript
SetGameplayCamFollowPedThisUpdate(ped);

// by hash
Citizen.invokeNative('0x82E41D6ADE924FCA', ped);
C#
Function.Call((Hash)0x82E41D6ADE924FCA, ped);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.