materialsystem.get_model_materials
Returns a table of materials used by the specified entity's model
materialsystem.get_model_materials(entindex: number): table
Arguments
| Name | Description | Type |
|---|---|---|
| entindex | Returns a table of references to materials used by the entity | number |
Returns materials: table