util.PrecacheSound

From GMod Wiki

Revision as of 20:21, 3 June 2010 by Sc00by22 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax util.PrecacheSound( String filename )
Where is this used?
Description:
Precaches a sound file.
Returns: nil
Part of Library: Util
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Util.PrecacheSound]Util.PrecacheSound [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionPrecaches the sound "Sound.wav" file.
Used onNewerShared.png
Code
util.PrecacheSound("Path/To/Sound.wav")
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox