CSoundPatch.IsPlaying
From GMod Wiki
| Function | |
| Syntax | CSoundPatch:IsPlaying( ) |
| Description: | |
| Checks to see if a CSoundPatch is playing. | |
| Returns: | Boolean |
| In Object: | CSoundPatch |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=CSoundPatch.IsPlaying]CSoundPatch.IsPlaying [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Checks if sound TestSound is playing. |
|---|---|
| Used on | |
| Code | MsgN( TestSound:IsPlaying() ); |
| Output | true |