Garry's Mod Wiki

CSoundPatch:ChangeVolume

CSoundPatch:ChangeVolume( number volume, number deltaTime = 0 )

Description

Adjusts the volume of the sound played.<br> Appears to only work while the sound is being played.

Arguments

1 number volume
The volume ranges from 0 to 1.
2 number deltaTime = 0
Time to fade the volume from previous to new value from.

Page Links


Special Pages


Wikis

?

Render Time: 33ms

Session 0
DB GetPage 3
Generate Html 8
SaveChanges 10
Render Body 0
Render Sidebar 11