IsSoundPlaying
Whether a sound still plays.
Syntax
Section titled “Syntax”IsSoundPlaying(sound)| Parameter | Type | |
|---|---|---|
sound |
number | the sound’s id |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”if not IsSoundPlaying(bell) then bell = PlaySoundAt(x, y, z, "bell.ogg", {range = 120}) endSee also
Section titled “See also”PlayEntitySound · PlaySoundAt · the Sound files group of the index
