Pular para o conteúdo

isAmbientSoundEnabled

Cliente Mundo

Diz se um tipo de som ambiente está ligado.

bool isAmbientSoundEnabled ( string tipo )

Aqui o tipo é obrigatório. Um tipo desconhecido devolve false e registra um aviso.

if not isAmbientSoundEnabled("general") then
setAmbientSoundEnabled("general", true)
end