StreamingClient

doesAnimDictExist

DOES_ANIM_DICT_EXIST0x2DA49C3B79856961

The 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.

SignatureJavaScript
doesAnimDictExist(animDict: string): boolean
SignatureLua
doesAnimDictExist(animDict: string): boolean

Usage

JavaScript
const result = doesAnimDictExist(animDict);
Lua
local result = doesAnimDictExist(animDict)

Parameters

ParameterTypeJavaScriptLua
animDictstringstringstring

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.

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

Open in the interactive natives reference