hasAnimDictLoaded
HAS_ANIM_DICT_LOADED0xD031A9162D01088CThe GTA V native HAS_ANIM_DICT_LOADED of the STREAMING namespace, as LS:MP client scripts call it: the global function hasAnimDictLoaded, in JavaScript and in Lua.
hasAnimDictLoaded(animDict: string): booleanhasAnimDictLoaded(animDict: string): booleanUsage
JavaScript
const result = hasAnimDictLoaded(animDict);Lua
local result = hasAnimDictLoaded(animDict)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
animDict | string | string | string |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json
Reference
- Namespace
- Streaming STREAMING
- In the game
BOOL HAS_ANIM_DICT_LOADED(const char* animDict)- Hash
0xD031A9162D01088C