CutscenesClient

setPadCanShakeDuringCutscene

SET_PAD_CAN_SHAKE_DURING_CUTSCENE0xC61B86C9F61EB404

The GTA V native SET_PAD_CAN_SHAKE_DURING_CUTSCENE of the CUTSCENE namespace, as LS:MP client scripts call it: the global function setPadCanShakeDuringCutscene, in JavaScript and in Lua.

SignatureJavaScript
setPadCanShakeDuringCutscene(toggle: boolean): void
SignatureLua
setPadCanShakeDuringCutscene(toggle: boolean)

Usage

JavaScript
setPadCanShakeDuringCutscene(toggle);
Lua
setPadCanShakeDuringCutscene(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

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 a value (bool) for cutscenes.

Reference

Namespace
Cutscenes CUTSCENE
In the game
void SET_PAD_CAN_SHAKE_DURING_CUTSCENE(BOOL toggle)
Hash
0xC61B86C9F61EB404

Open in the interactive natives reference