- Dokumentacja
- Funkcje klienta
- getSoundEffects
Funkcja
getSoundEffects
Zwraca tabelę wszystkich efektów dźwięku: nazwa efektu → true/false.
Składnia
table getSoundEffects(sound theSound)Argumenty
theSoundsound- Dźwięk.
Zwraca
Tabela efektów albo false.
Przykład
local music = playSound("audio/radio.mp3", true)
for name, on in pairs(getSoundEffects(music)) do
if on then outputChatBox(name) end
end