util.GetModelInfo
From GMod Wiki
Revision as of 19:19, 29 October 2009 by Crazy Quebecer (Talk | contribs)
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.