- Documentation
- Server functions
- isWorldSoundEnabled
Function
isWorldSoundEnabled
Returns whether a world sound was not muted with setWorldSoundEnabled (also checks muting of the whole group).
Syntax
bool isWorldSoundEnabled(int group [, int index = -1])Arguments
groupint- Group number.
indexint, optional = -1- Sound index, or -1.
Returns
true when the sound is enabled.
Example
outputDebugString(tostring(isWorldSoundEnabled(5, -1)))