Client
Stop a playing audio clip.
audio.stop(playid --[[ integer ]])
-- Play a different "mission completion" sound every 5 secs indefinitely. event.add_handler("core:on_gameplay_render", function() local playid = audio.play_one_shot("UI_Music", "Mission_Completion") event.wait(5000) audio.stop(playid) end)
Last updated 5 months ago