SetSoundVolume

From Multi Theft Auto: Wiki
Revision as of 19:46, 26 December 2008 by Cazomino05 (talk | contribs) (New page: __NOTOC__ {{Client function}} Sets custom sound volume. ==Syntax== <syntaxhighlight lang="lua">bool setSoundPosition ( string sound, float volume )</syntaxhighlight> ===Required Arguments=== *'''sound:''' Nam...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sets custom sound volume.

Syntax

bool setSoundPosition ( string 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