CSoundPatch:ChangeVolume

From Garry's Mod
Jump to: navigation, search
 CSoundPatch:ChangeVolume( )

Description

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

Arguments

number volume

The volume ranges from 0 to 1.

Arguments

number deltaTime=0

Time to fade the volume from previous to new value from.
Personal tools
Navigation