- Documentation
- Client functions
- getSoundVolume
Function
getSoundVolume
Returns the volume set by script (ignores distance and the player's slider).
Syntax
float getSoundVolume(sound theSound)Arguments
theSoundsound- The sound.
Returns
The volume or false.
Example
setSoundVolume(music, getSoundVolume(music) + 0.1)