StopEntitySounds
Ends every sound playing at an entity.
Syntax
Section titled “Syntax”StopEntitySounds(id)| Parameter | Type | |
|---|---|---|
id |
number | the actor, animal or entity |
Returns
Section titled “Returns”number - how many were playing
Example
Section titled “Example”function OnActorDeath(id, attacker) StopEntitySounds(id) -- a dead man tells no more talesendSee also
Section titled “See also”StopSound · PlayEntitySound · the Sound files group of the index
