CameraClient

createCinematicShot

CREATE_CINEMATIC_SHOT0x741B0129D4560F31

The 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.

SignatureJavaScript
createCinematicShot(p0: Hash, time: number, p2: boolean, entity: Entity): void
SignatureLua
createCinematicShot(p0: Hash, time: integer, p2: boolean, entity: Entity)

Usage

JavaScript
createCinematicShot(p0, time, p2, entity);
Lua
createCinematicShot(p0, time, p2, entity)

Parameters

ParameterTypeJavaScriptLua
p0Hashnumberinteger
timeintnumberinteger
p2BOOLbooleanboolean
entityEntitynumberinteger

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

Open in the interactive natives reference