natives.haveAnimsLoaded

From GTA Connected
Revision as of 00:06, 4 December 2025 by ChrisGame20 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function Client Only icon-iv.png Online and Offline

Available since Client 1.0.0

bool natives.haveAnimsLoaded(string animDict)

The natives.haveAnimsLoaded function is used to Checks if the specified animation dictionary has been loaded into memory.

Parameters

1) string animDict The animation dictionary name (e.g. "cop").

Return

bool True if the animation dictionary is loaded, false otherwise.

Notes

  • - Must be called before playing an animation to ensure the dictionary is available- Often used together with natives.requestAnims to load missing dictionaries.

Examples

Example 1 - JavaScript:

natives.haveAnimsLoaded("cop");

Compatibility

There isn't any compatibility information for this function.