isGameplayCamRendering
IS_GAMEPLAY_CAM_RENDERING0x39B5D1B10383F0C8The GTA V native IS_GAMEPLAY_CAM_RENDERING of the CAM namespace, as LS:MP client scripts call it: the global function isGameplayCamRendering, in JavaScript and in Lua.
isGameplayCamRendering(): booleanisGameplayCamRendering(): booleanUsage
JavaScript
const result = isGameplayCamRendering();Lua
local result = isGameplayCamRendering()Parameters
None.
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Examples when this function will return 0 are:
- During busted screen.
- When player is coming out from a hospital.
- When player is coming out from a police station.
- When player is buying gun from AmmuNation.
Reference
- Namespace
- Camera CAM
- In the game
BOOL IS_GAMEPLAY_CAM_RENDERING()- Hash
0x39B5D1B10383F0C8