doesAnimDictExist
DOES_ANIM_DICT_EXIST0x2DA49C3B79856961The GTA V native DOES_ANIM_DICT_EXIST of the STREAMING namespace, as LS:MP client scripts call it: the global function doesAnimDictExist, in JavaScript and in Lua.
doesAnimDictExist(animDict: string): booleandoesAnimDictExist(animDict: string): booleanUsage
JavaScript
const result = doesAnimDictExist(animDict);Lua
local result = doesAnimDictExist(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 DOES_ANIM_DICT_EXIST(const char* animDict)- Hash
0x2DA49C3B79856961