StreamingClient

hasAnimDictLoaded

HAS_ANIM_DICT_LOADED0xD031A9162D01088C

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

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

Usage

JavaScript
const result = hasAnimDictLoaded(animDict);
Lua
local result = hasAnimDictLoaded(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 HAS_ANIM_DICT_LOADED(const char* animDict)
Hash
0xD031A9162D01088C

Open in the interactive natives reference