createCinematicShot
CREATE_CINEMATIC_SHOT0x741B0129D4560F31The GTA V native CREATE_CINEMATIC_SHOT of the CAM namespace, as LS:MP client scripts call it: the global function createCinematicShot, in JavaScript and in Lua.
createCinematicShot(p0: Hash, time: number, p2: boolean, entity: Entity): voidcreateCinematicShot(p0: Hash, time: integer, p2: boolean, entity: Entity)Usage
JavaScript
createCinematicShot(p0, time, p2, entity);Lua
createCinematicShot(p0, time, p2, entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | Hash | number | integer |
time | int | number | integer |
p2 | BOOL | boolean | boolean |
entity | Entity | number | integer |
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.
hash is always JOAAT("CAMERA_MAN_SHOT") in decompiled scripts
Reference
- Namespace
- Camera CAM
- In the game
void CREATE_CINEMATIC_SHOT(Hash p0, int time, BOOL p2, Entity entity)- Hash
0x741B0129D4560F31