OnSoundFinished
From Onset Developer Wiki
Description
Called when a sound created by CreateSound or CreateSound3D stopped playing.
Syntax
OnSoundFinished(sound)
Parameters
- sound
The sound identifier.
Example
AddEvent("OnSoundFinished", function(sound)
AddPlayerChat("Sound ID " .. sound .. " has finished playing!")
end)