Streaming::requestAnimDict
Jump to navigation
Jump to search
This function is required when using client-side animations, you should preload the anim dictionary before using it, otherwise the animation won't work.
Syntax
mp.game.streaming.requestAnimDict(animDict);Required Arguments
- animDict: String
Return value
- Undefined
Example
The example below preloads an animation and applies it into the local player.
mp.game.streaming.requestAnimDict("[email protected]_robbery");
mp.players.local.taskPlayAnim("[email protected]_robbery", "robbery_action_f", 8.0, 1.0, -1, 1, 1.0, false, false, false);