Revision Difference
util.PrecacheSound#568465
<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. Due to this fact this function is disabled on purpose, as exceeding the limit causes the server to shutdown.</note>
<bug>Ultimately does nothing on client, and only works with sound scripts, not direct paths.</bug>
See also <page>Global.Sound</page>⤶
</description>
<realm>Shared</realm>
<args>
<arg name="soundName" type="string">The sound to precache.</arg>
</args>
</function>
Garry's Mod
Rust
Steamworks
Wiki Help