isCamActive
IS_CAM_ACTIVE0xDFB2B516207D3534The GTA V native IS_CAM_ACTIVE of the CAM namespace, as LS:MP client scripts call it: the global function isCamActive, in JavaScript and in Lua.
isCamActive(cam: Cam): booleanisCamActive(cam: Cam): booleanUsage
JavaScript
const result = isCamActive(cam);Lua
local result = isCamActive(cam)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
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.
Returns whether or not the passed camera handle is active.
Reference
- Namespace
- Camera CAM
- In the game
BOOL IS_CAM_ACTIVE(Cam cam)- Hash
0xDFB2B516207D3534