shakeScriptGlobal
SHAKE_SCRIPT_GLOBAL0xF4C8CF9E353AFECAThe GTA V native SHAKE_SCRIPT_GLOBAL of the CAM namespace, as LS:MP client scripts call it: the global function shakeScriptGlobal, in JavaScript and in Lua.
shakeScriptGlobal(p0: string, p1: number): voidshakeScriptGlobal(p0: string, p1: number)Usage
JavaScript
shakeScriptGlobal(p0, p1);Lua
shakeScriptGlobal(p0, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | string | string | string |
p1 | float | number | number |
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.
shakeScriptGlobal("HAND_SHAKE", 0.2);Full list of cam shake types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/camShakeTypesCompact.json
Reference
- Namespace
- Camera CAM
- In the game
void SHAKE_SCRIPT_GLOBAL(const char* p0, float p1)- Hash
0xF4C8CF9E353AFECA