StreamingClient

hasAnimSetLoaded

HAS_ANIM_SET_LOADED0xC4EA073D86FB29B0

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

SignatureJavaScript
hasAnimSetLoaded(animSet: string): boolean
SignatureLua
hasAnimSetLoaded(animSet: string): boolean

Usage

JavaScript
const result = hasAnimSetLoaded(animSet);
Lua
local result = hasAnimSetLoaded(animSet)

Parameters

ParameterTypeJavaScriptLua
animSetstringstringstring

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.

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

Open in the interactive natives reference