game.play_sound_for

Play a sound.

Arguments

who

The player or team to play the sound for, or the value all_players.

sound

The sound to play.

immediate

Whether to allow the sound to overlap with other scripted sounds, or queue up to play after them.

Example

game.play_sound_for(all_players, timer_beep, true)