util/PrecacheSound

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
 
Line 3: Line 3:
  
 
{{Bug|Positively broken on purpose because it fills stringtables}}
 
{{Bug|Positively broken on purpose because it fills stringtables}}
 +
{{Bug|Ultimately does nothing on client, and only works with sound scripts, not direct paths}}
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=No
 
|IsClass=No

Latest revision as of 18:26, 9 January 2020

 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