Garry's Mod Wiki

CSoundPatch:ChangeVolume

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

Description

Adjusts the volume of the sound played.
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: 32ms

DB GetPage 3
Generate Html 6
SaveChanges (1) 9
Render Body 0
Render Sidebar 12