Garry's Mod Wiki

Revision Difference

util.PrecacheSound#512299

<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.</note>⤶ ⤶ <bug>Positively broken on purpose because it fills stringtables</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>⤶ ⤶