CameraClient

getFollowPedCamViewMode

GET_FOLLOW_PED_CAM_VIEW_MODE0x8D4D46230B2C353A

The GTA V native GET_FOLLOW_PED_CAM_VIEW_MODE of the CAM namespace, as LS:MP client scripts call it: the global function getFollowPedCamViewMode, in JavaScript and in Lua.

SignatureJavaScript
getFollowPedCamViewMode(): number
SignatureLua
getFollowPedCamViewMode(): integer

Usage

JavaScript
const result = getFollowPedCamViewMode();
Lua
local result = getFollowPedCamViewMode()

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Camera CAM
In the game
int GET_FOLLOW_PED_CAM_VIEW_MODE()
Hash
0x8D4D46230B2C353A

Open in the interactive natives reference