SetSoundVolume: Difference between revisions
Jump to navigation
Jump to search
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...) |
Cazomino05 (talk | contribs) (→Syntax) |
||
Line 4: | Line 4: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua">bool | <syntaxhighlight lang="lua">bool setSoundVolume ( string sound, float volume )</syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
Line 12: | Line 12: | ||
===Returns=== | ===Returns=== | ||
Returns ''true'' if the sound volume was successfully changed, ''false'' otherwise. | Returns ''true'' if the sound volume was successfully changed, ''false'' otherwise. | ||
==Example== | ==Example== |
Revision as of 19:47, 26 December 2008
Sets custom sound volume.
Syntax
bool setSoundVolume ( 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