Skip to main content

play_speech

Function play_speech 

Source
pub fn play_speech(pid: u16, sound: &str)
Expand description

Play a certain sound for a player as spoken by their character by sending
a PlayerSpeech packet.

pid The player ID of the character playing the sound.
sound The path of the sound file.

Returns void