CameraClient

getCamActiveViewModeContext

GET_CAM_ACTIVE_VIEW_MODE_CONTEXT0x19CAFA3C87F7C2FF

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

SignatureJavaScript
getCamActiveViewModeContext(): number
SignatureLua
getCamActiveViewModeContext(): integer

Usage

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

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Camera CAM
In the game
int GET_CAM_ACTIVE_VIEW_MODE_CONTEXT()
Hash
0x19CAFA3C87F7C2FF
Formerly
_GET_CAM_ACTIVE_VIEW_MODE_CONTEXT

Open in the interactive natives reference