CSoundPatch.PlayEx
From GMod Wiki
Function | |
Syntax | CSoundPatch:PlayEx( Float volume, Float pitch ) |
Description: | |
Starts to play the CSoundPatch sound with custom volume and pitch. | |
Returns: | nil |
In Object: | Csoundpatch |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=CSoundPatch.PlayEx]CSoundPatch.PlayEx [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Volume argument must be between 0 and 1. For example, 0.12.
- Pitch must be set as well for this function to do anything.