isShowSoundEnabled | Multi Theft Auto: Wiki Skip to content

isShowSoundEnabled

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 indicates if world sound IDs should be printed in the debug window or not.

Note

This function only works in development mode.

Syntax

isShowSoundEnabled ( )

Code Examples

client

You can refer to the example below:

setDevelopmentMode (true)
addCommandHandler ("devdebug",
function ()
showSound (not isShowSoundEnabled())
end
)