CameraClient

stopScriptGlobalShaking

STOP_SCRIPT_GLOBAL_SHAKING0x1C9D7949FA533490

The GTA V native STOP_SCRIPT_GLOBAL_SHAKING of the CAM namespace, as LS:MP client scripts call it: the global function stopScriptGlobalShaking, in JavaScript and in Lua.

SignatureJavaScript
stopScriptGlobalShaking(p0: boolean): void
SignatureLua
stopScriptGlobalShaking(p0: boolean)

Usage

JavaScript
stopScriptGlobalShaking(p0);
Lua
stopScriptGlobalShaking(p0)

Parameters

ParameterTypeJavaScriptLua
p0BOOLbooleanboolean

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.

In drunk_controller.c4, sub_309

if (isScriptGlobalShaking()) {
    stopScriptGlobalShaking(0);
}

Reference

Namespace
Camera CAM
In the game
void STOP_SCRIPT_GLOBAL_SHAKING(BOOL p0)
Hash
0x1C9D7949FA533490

Open in the interactive natives reference