ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. setInteriorSoundsEnabled

Function

setInteriorSoundsEnabled

ServerMiscellaneousIdentical to MTA:SA

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

enabledbool
true = interior sounds.

Returns

true on success.

Example

setInteriorSoundsEnabled(false)

See also