G.Model
From GMod Wiki
| 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: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.Model]G.Model [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Precache a model |
|---|---|
| Used on | |
| Code | SWEP.WorldModel = Model( "path/to/my/aweseome/model.mdl" ) |
| Output | N/A |