Skip to main content

materialsystem.get_model_materials

Returns a table of materials used by the specified entity's model

materialsystem.get_model_materials(entindex: number): table

Arguments

NameDescriptionType
entindexReturns a table of references to materials used by the entitynumber

Returns materials: table