CameraClient

isScriptGlobalShaking

IS_SCRIPT_GLOBAL_SHAKING0xC912AF078AF19212

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

SignatureJavaScript
isScriptGlobalShaking(): boolean
SignatureLua
isScriptGlobalShaking(): boolean

Usage

JavaScript
const result = isScriptGlobalShaking();
Lua
local result = isScriptGlobalShaking()

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

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
BOOL IS_SCRIPT_GLOBAL_SHAKING()
Hash
0xC912AF078AF19212

Open in the interactive natives reference