Garry's Mod Wiki


util.PrecacheSound( string soundName )


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

Soundcache is limited to 16384 unique sounds on the server.
Broken on purpose because hitting the limit above causes the server to shutdown
Ultimately does nothing on client, and only works with sound scripts, not direct paths.


1 string soundName
The sound to precache.

Page Links

Special Pages



Render Time: 61ms

DB GetPage 35
Generate Html 4
SaveChanges (1) 13
Render Body 0
Render Sidebar 7