setCamActive
SET_CAM_ACTIVE0x026FB97D0A425F84The GTA V native SET_CAM_ACTIVE of the CAM namespace, as LS:MP client scripts call it: the global function setCamActive, in JavaScript and in Lua.
setCamActive(cam: Cam, active: boolean): voidsetCamActive(cam: Cam, active: boolean)Usage
JavaScript
setCamActive(cam, active);Lua
setCamActive(cam, active)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
active | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Set camera as active/inactive.
Reference
- Namespace
- Camera CAM
- In the game
void SET_CAM_ACTIVE(Cam cam, BOOL active)- Hash
0x026FB97D0A425F84