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. If the sound is already being emitted by the entity, its volume will be changed, instead of playing another sound.
SND_CHANGE_PITCH2Change sound pitch. If the sound is already being emitted by the entity, its pitch will be changed, instead of playing another sound.
SND_STOP4Stop the sound. Used internally for Entity:StopSound.
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 (e.g. with SND_CHANGE_VOL) emitted by an entity, regardless of scriptname.
SND_DO_NOT_OVERWRITE_EXISTING_ON_CHANNEL1024Unused/legacy; does nothing.