util.PrecacheSound

From GMod Wiki

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