Skip to main content

play_animation

Function play_animation 

Source
pub fn play_animation(
    pid: u16,
    groupname: &str,
    mode: i16,
    count: i16,
    persist: bool,
)
Expand description

Play a certain animation on a player’s character by sending a PlayerAnimation
packet.

pid The player ID of the character playing the animation.
groupname The groupname of the animation.
mode The mode of the animation.
count The number of times the animation should be played.
bool Whether the animation should persist or not.

Returns void