util.PrecacheModel

From GMod Wiki

Jump to: navigation, search
Function
Syntax util.PrecacheModel( String filename )
Where is this used?
Description:
Precaches a model.
Returns: nil
Part of Library: Util
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Util.PrecacheModel]Util.PrecacheModel [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionPrecaches the model "hi.mdl" file.
Used onNewerShared.png
Code
util.PrecacheModel("model/path/hi.mdl")
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox