animatedShakeScriptGlobal
ANIMATED_SHAKE_SCRIPT_GLOBAL0xC2EAE3FB8CDBED31The GTA V native ANIMATED_SHAKE_SCRIPT_GLOBAL of the CAM namespace, as LS:MP client scripts call it: the global function animatedShakeScriptGlobal, in JavaScript and in Lua.
animatedShakeScriptGlobal(
p0: string,
p1: string,
p2: string,
p3: number
): voidanimatedShakeScriptGlobal(p0: string, p1: string, p2: string, p3: number)Usage
JavaScript
animatedShakeScriptGlobal(p0, p1, p2, p3);Lua
animatedShakeScriptGlobal(p0, p1, p2, p3)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | string | string | string |
p1 | string | string | string |
p2 | string | string | string |
p3 | 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.
animatedShakeScriptGlobal("SHAKE_CAM_medium", "medium", "", 0.5f);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 ANIMATED_SHAKE_SCRIPT_GLOBAL(const char* p0, const char* p1, const char* p2, float p3)- Hash
0xC2EAE3FB8CDBED31