IsAmbientSoundEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Server client function}} This function allows you to check if some background sound effects are enabled. ==Syntax== <syntaxhighlight lang="lua"> bool isAmbientSoundEnabled( string ...")
 
mNo edit summary
Line 5: Line 5:
==Syntax==
==Syntax==
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool isAmbientSoundEnabled( string type )
bool isAmbientSoundEnabled( string theType )
</syntaxhighlight>  
</syntaxhighlight>  


===Required Arguments===  
===Required Arguments===  
*'''type:''' The type of ambient sound to test. Can be either "gunfire" or "general".
*'''theType:''' The type of ambient sound to test. Can be either "gunfire" or "general".


===Returns===
===Returns===

Revision as of 22:28, 30 July 2011