setCinematicModeActive
SET_CINEMATIC_MODE_ACTIVE0xDCF0754AC3D6FD4EThe GTA V native SET_CINEMATIC_MODE_ACTIVE of the CAM namespace, as LS:MP client scripts call it: the global function setCinematicModeActive, in JavaScript and in Lua.
setCinematicModeActive(toggle: boolean): voidsetCinematicModeActive(toggle: boolean)Usage
JavaScript
setCinematicModeActive(toggle);Lua
setCinematicModeActive(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | 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.
Toggles the vehicle cinematic cam; requires the player ped to be in a vehicle to work.
Reference
- Namespace
- Camera CAM
- In the game
void SET_CINEMATIC_MODE_ACTIVE(BOOL toggle)- Hash
0xDCF0754AC3D6FD4E