Scripting/Client/Functions/sound.SetVolume
Volume percentage (read and write).
Syntax
sound.SetVolume(0-100)sound.VolumeArguments
- any 0-100
Example
function onScriptLoad()
{
// sound is a sound handle (see Sound)
sound.SetVolume( 0 );
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
Section: Sound
Categories: Client functions | Sound