CSoundPatch.ChangeVolume
From GMod Wiki
Function | |
Syntax | CSoundPatch:ChangeVolume( Float volume ) |
Description: | |
Changes the volume of the sound | |
Returns: | nil |
In Object: | Csoundpatch |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=CSoundPatch.ChangeVolume]CSoundPatch.ChangeVolume [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- The volume should be a number between 0 and 1, not 100! Anything above 1 will not work. math.Clamp may be useful to help ensure this.