Garry's Mod Wiki

SND

Description

Sound flags used by EmitSound and Entity:EmitSound.

Values

SND_NOFLAGS0To keep the compiler happy
SND_CHANGE_VOL1Change sound volume
SND_CHANGE_PITCH2Change sound pitch
SND_STOP4Stop the sound
SND_SPAWNING8We're spawning, used in some cases for ambients. Not sent over net, only a param between dll and server.
SND_DELAY16Sound has an initial delay
SND_STOP_LOOPING32Stop all looping sounds on the entity.
SND_SHOULDPAUSE128This sound should be paused if the game is paused
SND_IGNORE_PHONEMES256If the sound has any associated phoneme (character lip-sync) data, ignore it.
SND_IGNORE_NAME512Used to change all sounds emitted by an entity, regardless of scriptname
SND_DO_NOT_OVERWRITE_EXISTING_ON_CHANNEL1024Unused/legacy; does nothing.