G.Model

From GMod Wiki

Jump to: navigation, search
Function
Syntax Model( String path )
Where is this used?
Description:
Calls util.PrecacheModel on the argument and returns the string
Returns: String
Part of Library: Global Functions
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.Model]G.Model [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionPrecache a model
Used onNewerShared.png
Code
SWEP.WorldModel = Model( "path/to/my/aweseome/model.mdl" )
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox