hasAnimSetLoaded
HAS_ANIM_SET_LOADED0xC4EA073D86FB29B0The GTA V native HAS_ANIM_SET_LOADED of the STREAMING namespace, as LS:MP client scripts call it: the global function hasAnimSetLoaded, in JavaScript and in Lua.
hasAnimSetLoaded(animSet: string): booleanhasAnimSetLoaded(animSet: string): booleanUsage
JavaScript
const result = hasAnimSetLoaded(animSet);Lua
local result = hasAnimSetLoaded(animSet)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
animSet | 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.
Gets whether the specified animation set has finished loading. An animation set provides movement animations for a ped. See setPedMovementClipset.
Animation set and clip set are synonymous.
Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json
Full list of movement clipsets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/movementClipsetsCompact.json
Reference
- Namespace
- Streaming STREAMING
- In the game
BOOL HAS_ANIM_SET_LOADED(const char* animSet)- Hash
0xC4EA073D86FB29B0