getSoundEffects
Client
Lists the audio effects of a sound or a player's voice and tells which are on.
table|false getSoundEffects(sound|player target)
Parameters
| Name | Type | Description |
|---|---|---|
| target | sound|player | A sound, a dui, or a player to change their voice in voice chat. |
Returns
A table with each effect's name as key and true or false as value, or false if the target was not found.
Example
for name, enabled in pairs(getSoundEffects(music)) do
if enabled then
outputDebugString(name .. " is on")
end
end