Entity/StopSound

From Garry's Mod
Jump to: navigation, search
 Entity:StopSound( )

Description

Stops emitting the given sound script from the entity, especially useful for looping sound scripts.

NOTE

This only works with sound scripts (sound.Add), using a file path will not work!

Arguments

string soundscript

The name of the sound script to stop playback of.
Personal tools
Navigation