Garry's Mod Wiki

Revision Difference

util.PrecacheSound#528226

<function name="PrecacheSound" parent="util" type="libraryfunc"> <description> Precaches a sound for later use. Sound is cached after being loaded once. <note>Soundcache is limited to 16384 unique sounds on the server.</note> <bug>Broken on purpose because hitting the limit above causes the server to shutdown</bug> <bug>Ultimately does nothing on client, and only works with sound scripts, not direct paths. This will be fixed in the next update.</bug> <bug>Ultimately does nothing on client, and only works with sound scripts, not direct paths.</bug> </description> <realm>Shared</realm> <args> <arg name="soundName" type="string">The sound to precache.</arg> </args> </function>