Garry's Mod Wiki

util.PrecacheSound

util.PrecacheSound( string soundName )

Description

Precaches a sound for later use. Sound is cached after being loaded once.<note>Soundcache is limited to 16384 unique sounds.</note>

Positively broken on purpose because it fills stringtables
Ultimately does nothing on client, and only works with sound scripts, not direct paths

Arguments

1 string soundName
The sound to precache.

Page Links


Special Pages


Wikis

?

Render Time: 35ms

Session 0
DB GetPage 5
Generate Html 2
SaveChanges 12
Render Body 0
Render Sidebar 13