SlashCo Wiki

SlashCo.PrecacheSound

  SlashCo.PrecacheSound( string soundName )

Description

Precaches a sound and remembers it in an internal table so it isn't precached again, e.g. after an autorefresh.

The current implementation internally calls util.PrecacheModel instead of util.PrecacheSound - this looks like a bug in the existing code.

Arguments

1string soundName

The sound path to precache.