setGameplayCamFollowPedThisUpdate
SET_GAMEPLAY_CAM_FOLLOW_PED_THIS_UPDATE0x8BBACBF51DA047A8The GTA V native SET_GAMEPLAY_CAM_FOLLOW_PED_THIS_UPDATE of the CAM namespace, as LS:MP client scripts call it: the global function setGameplayCamFollowPedThisUpdate, in JavaScript and in Lua.
setGameplayCamFollowPedThisUpdate(ped: Ped): voidsetGameplayCamFollowPedThisUpdate(ped: Ped)Usage
JavaScript
setGameplayCamFollowPedThisUpdate(ped);Lua
setGameplayCamFollowPedThisUpdate(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Forces gameplay cam to specified ped as if you were the ped or spectating it
Reference
- Namespace
- Camera CAM
- In the game
void SET_GAMEPLAY_CAM_FOLLOW_PED_THIS_UPDATE(Ped ped)- Hash
0x8BBACBF51DA047A8