destroyAllCams
DESTROY_ALL_CAMS0x8E5FB15663F79120The GTA V native DESTROY_ALL_CAMS of the CAM namespace, as LS:MP client scripts call it: the global function destroyAllCams, in JavaScript and in Lua.
destroyAllCams(bScriptHostCam: boolean): voiddestroyAllCams(bScriptHostCam: boolean)Usage
JavaScript
destroyAllCams(bScriptHostCam);Lua
destroyAllCams(bScriptHostCam)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
bScriptHostCam | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
On LS:MP
ℹ
Resource scope
Pass false or 0 for bScriptHostCam. A nonzero value raises an error.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
BOOL param indicates whether the cam should be destroyed if it belongs to the calling script.
Reference
- Namespace
- Camera CAM
- In the game
void DESTROY_ALL_CAMS(BOOL bScriptHostCam)- Hash
0x8E5FB15663F79120