- Documentation
- Client functions
- getSoundEffects
Function
getSoundEffects
Returns a table of all of a sound's effects: effect name → true/false.
Syntax
table getSoundEffects(sound theSound)Arguments
theSoundsound- The sound.
Returns
A table of effects or false.
Example
local music = playSound("audio/radio.mp3", true)
for name, on in pairs(getSoundEffects(music)) do
if on then outputChatBox(name) end
end