SND Enumerations

From Garry's Mod
Jump to: navigation, search

Sound flags used by EmitSound and Entity:EmitSound.

Warning! Decimal values are for reference only! The actual value may be different between two Garry's Mod versions.
Name Decimal Description
SND_NOFLAGS 0 To keep the compiler happy
SND_CHANGE_VOL 1 Change sound vol
SND_CHANGE_PITCH 2 Change sound pitch
SND_STOP 4 Stop the sound
SND_SPAWNING 8 We're spawning, used in some cases for ambients. Not sent over net, only a param between dll and server.
SND_DELAY 16 Sound has an initial delay
SND_STOP_LOOPING 32 Stop all looping sounds on the entity.
SND_SHOULDPAUSE 128 This sound should be paused if the game is paused
SND_IGNORE_NAME 512 Used to change all sounds emitted by an entity, regardless of scriptname
Personal tools