Entity.GetMaterial
From GMod Wiki
Function | |
Syntax | Entity:GetMaterial( ) |
Description: | |
Returns the override material for the model. | |
Returns: | String |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.GetMaterial]Entity.GetMaterial [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- The path's root is in the materials/ folder. File extensions like .vmt or .vtf are not included. An example path is "models/shiny".