util/PrecacheSound

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=PrecacheSound
 
|Parent=util
 
 
|Description=Precaches a sound for later use. Sound is cached after being loaded once.{{Note|Soundcache is limited to 16384 unique sounds.}}
 
|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}}
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=No
 
|IsClass=No

Revision as of 18:18, 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

Arguments

string soundName

The sound to precache.
Personal tools
Navigation