util.PrecacheSound

From Garry's Mod
Jump to: navigation, search
 util.PrecacheSound( )

Description

Precaches a sound for later use. Sound is cached after being loaded once.

NOTE

Soundcache is limited to 16384 unique sounds.

BUG

Positively broken on purpose because it fills stringtables

BUG

Ultimately does nothing on client, and only works with sound scripts, not direct paths

Arguments

string soundName

The sound to precache.
Personal tools
Navigation