CSoundPatch.IsPlaying

From GMod Wiki

Revision as of 18:53, 29 May 2010 by Disseminate (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax CSoundPatch:IsPlaying( )
Description:
Checks to see if a CSoundPatch is playing.
Returns: Boolean
In Object: CSoundPatch
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=CSoundPatch.IsPlaying]CSoundPatch.IsPlaying [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionChecks if sound TestSound is playing.
Used onNewerShared.png
Code
 
  MsgN( TestSound:IsPlaying() );
 
Outputtrue
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox