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.

WARNING

This only works when the sound you're trying to stop is a sound script (see 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