natives.requestAnims
Jump to navigation
Jump to search
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.requestAnims(string animDict)
The natives.requestAnims function is used to Requests the specified animation dictionary to be loaded into memory.
Parameters
| 1) | string | animDict | The animation dictionary name to load (e.g. "cop"). |
Return
| void | This function doesn't return a value. |
Notes
- - After requesting, use natives.haveAnimsLoaded to check if the dictionary is ready- Required before calling natives.taskPlayAnimWithFlags with animations from that dictionary.
Examples
Example 1 - JavaScript:
natives.requestAnims("cop");
Compatibility
There isn't any compatibility information for this function.