- Documentation
- Server functions
- setInteriorSoundsEnabled
Function
setInteriorSoundsEnabled
Turns interior sounds (music and chatter in buildings) on or off. The value is stored for compatibility with existing scripts (getInteriorSoundsEnabled) but does not change the in-game sound yet.
Syntax
bool setInteriorSoundsEnabled(bool enabled)Arguments
enabledbooltrue= interior sounds.
Returns
true on success.
Example
setInteriorSoundsEnabled(false)