getInteriorSoundsEnabled | Multi Theft Auto: Wiki Skip to content

getInteriorSoundsEnabled

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function checks to see if the music played by default in clubs is disabled or not.

Syntax

getInteriorSoundsEnabled ( )

Code Examples

server

Command check_sounds checks if the interior sounds enabled or not

addCommandHandler("check_sounds",
function()
if getInteriorSoundsEnabled() then
outputChatBox("Interior sounds are enabled!!!",0,255,0)
else
outputChatBox("Interior sounds are disabled!!!",255,0,0)
end
end)

See Also

World Functions