getCamViewModeForContext
GET_CAM_VIEW_MODE_FOR_CONTEXT0xEE778F8C7E1142E2The GTA V native GET_CAM_VIEW_MODE_FOR_CONTEXT of the CAM namespace, as LS:MP client scripts call it: the global function getCamViewModeForContext, in JavaScript and in Lua.
getCamViewModeForContext(context: number): numbergetCamViewModeForContext(context: integer): integerUsage
JavaScript
const result = getCamViewModeForContext(context);Lua
local result = getCamViewModeForContext(context)Parameters
| Parameter | Type | JavaScript | Lua | Description |
|---|---|---|---|---|
context | int | number | integer | see getCamActiveViewModeContext |
Returns
int JavaScript number, Lua integerReference
- Namespace
- Camera CAM
- In the game
int GET_CAM_VIEW_MODE_FOR_CONTEXT(int context)- Hash
0xEE778F8C7E1142E2