util.GetModelInfo
From GMod Wiki
| Function | |
| Syntax |
util.GetModelInfo( String Model Path ) Where is this used? |
| Description: | |
| Returns a table containing the number of skins in a model. | |
| Returns: | Table Skin Count |
| Part of Library: | Util |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Util.GetModelInfo]Util.GetModelInfo [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- the base file for model files is always "model/" thus this will always be returned by this function when called.
- This function will only return a table containing the key SkinCount, whether the model is valid or not.