doesCamExist
DOES_CAM_EXIST0xA7A932170592B50EThe GTA V native DOES_CAM_EXIST of the CAM namespace, as LS:MP client scripts call it: the global function doesCamExist, in JavaScript and in Lua.
doesCamExist(cam: Cam): booleandoesCamExist(cam: Cam): booleanUsage
JavaScript
const result = doesCamExist(cam);Lua
local result = doesCamExist(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 exists.
Reference
- Namespace
- Camera CAM
- In the game
BOOL DOES_CAM_EXIST(Cam cam)- Hash
0xA7A932170592B50E