playvol
playvol
is a console command available in all Source games.
Syntax:
playvol <sound_name> <volume>
Play a sound at a specified volume where "sound_name
" is the specified sound with the path from <sound/> and where "volume
" is between "0.0" and "1.0"
Example:
playvol "common\stuck1.wav" "0.8"
will play the sound "stuck1.wav" in the folder "sound/common/" at the volume of 0.8
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
![Warning.png](/w/images/thumb/c/cb/Warning.png/10px-Warning.png)