Garry's Mod Wiki

CSoundPatch:ChangeVolume

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.

Special Pages


Wikis

?

Render Time: 54ms

DB GetPage 23
Generate Html 2
SaveChanges (1) 19
Render Body 0
Render Sidebar 7