SetSoundVolume: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Line 4: Line 4:


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">bool setSoundVolume ( string sound, float volume )</syntaxhighlight>  
<syntaxhighlight lang="lua">bool setSoundVolume ( element sound, float volume )</syntaxhighlight>  


===Required Arguments===  
===Required Arguments===  

Revision as of 19:56, 26 December 2008

Sets custom sound volume.

Syntax

bool setSoundVolume ( element sound, float volume )

Required Arguments

  • sound: Name of the sound you want to change the volume of.
  • volume: A float representing the desired volume.

Returns

Returns true if the sound volume was successfully changed, false otherwise.

Example

TODO

Click to collapse [-]
Client
--TODO

See Also