![]() |
|
getSubMaterial(index) problems - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html) +--- Forum: General (https://teamscm.co.uk/forum-39.html) +--- Thread: getSubMaterial(index) problems (/thread-2931.html) |
getSubMaterial(index) problems - The17thDoctor - 13-01-2019 I've been confronted to a problem where would not print anything, either its my fault either there is a problem somewhere.
RE: getSubMaterial(index) problems - Person8880 - 13-01-2019 It returns the sub-material override, so if you haven't set anything for that index it returns an empty string as it's not overridden. If you want the original material, use Entity:getMaterials(). |