ControlsClient

stopControlShake

STOP_CONTROL_SHAKE0x38C16A305E8CDC8D

The GTA V native STOP_CONTROL_SHAKE of the PAD namespace, as LS:MP client scripts call it: the global function stopControlShake, in JavaScript and in Lua.

SignatureJavaScript
stopControlShake(control: number): void
SignatureLua
stopControlShake(control: integer)

Usage

JavaScript
stopControlShake(control);
Lua
stopControlShake(control)

Parameters

ParameterTypeJavaScriptLuaDescription
controlintnumberintegersee isControlEnabled

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Controls PAD
In the game
void STOP_CONTROL_SHAKE(int control)
Hash
0x38C16A305E8CDC8D
Formerly
STOP_PAD_SHAKE

Open in the interactive natives reference