animations
Last updated
Last updated
This is for using TaskPlayAnimation native instead of emotes \
ped (number
): The identifier for the pedestrian (entity) who will perform the animation.
animDictionary (string
): The name of the animation dictionary used.
animationName (string
): The specific name of the animation to play.
blendInSpeed (number
): The speed at which the animation blends in. OPTIONAL
blendOutSpeed (number
): The speed at which the animation blends out. OPTIONAL
duration (integer
): The duration of the animation in milliseconds. OPTIONAL
animFlags (integer
): Flags that control how the animation is played. OPTIONAL
playbackRate (number
): The rate at which the animation is played. OPTIONAL
lockX (boolean
): If true
, prevents movement along the X-axis. OPTIONAL
lockY (boolean
): If true
, prevents movement along the Y-axis. OPTIONAL
lockZ (boolean
): If true
, prevents movement along the Z-axis. OPTIONAL