setFollowPedCamViewMode
SET_FOLLOW_PED_CAM_VIEW_MODE0x5A4F9EDF1673F704The GTA V native SET_FOLLOW_PED_CAM_VIEW_MODE of the CAM namespace, as LS:MP client scripts call it: the global function setFollowPedCamViewMode, in JavaScript and in Lua.
setFollowPedCamViewMode(viewMode: number): voidsetFollowPedCamViewMode(viewMode: integer)Usage
JavaScript
setFollowPedCamViewMode(viewMode);Lua
setFollowPedCamViewMode(viewMode)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
viewMode | int | 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.
Sets the type of Player camera:
0 - Third Person Close
1 - Third Person Mid
2 - Third Person Far
4 - First Person
Reference
- Namespace
- Camera CAM
- In the game
void SET_FOLLOW_PED_CAM_VIEW_MODE(int viewMode)- Hash
0x5A4F9EDF1673F704