SetSoundVolume: Difference between revisions

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


===Required Arguments===  
===Required Arguments===  
*'''sound:''' Name of the sound you want to change the volume of.
*'''sound:''' a sound element.
*'''volume:''' A float representing the desired volume.
*'''volume:''' A float representing the desired volume.



Revision as of 19:58, 26 December 2008

Sets custom sound volume.

Syntax

bool setSoundVolume ( element sound, float volume )

Required Arguments

  • sound: a sound element.
  • 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