sound.Add

From Garry's Mod
Revision as of 22:24, 2 August 2013 by Sam (Talk | contribs)
Jump to: navigation, search
 sound.Add( )

Contents

Description

Creates a sound. It can also override sounds, which seems to only work when set on the server.

Arguments

number sound_data

The sounds properties.

Examples

Example

"Creates a sound."

sound.Add(
{
 name = "enzo_engine_idle",
 channel = CHAN_STATIC,
 volume = 1.0,
 soundlevel = 80,
 pitchstart = 95,
 pitchend = 110,
 sound = "vehicles/enzo/idle.wav"
})


Personal tools
Navigation