Garry's Mod Wiki

Revision Difference

DTree_Node:SetIcon#518433

<function name="SetIcon" parent="DTree_Node" type="panelfunc"> <ispanel>yes</ispanel> <description>Sets the material for the icon of the <page>DTree_Node</page>.</description> <realm>Client</realm> <args> <arg name="path" type="string">The path to the material to be used. Do not include &quot;materials/&quot;. .pngs are supported.</arg> <arg name="path" type="string">The path to the material to be used. Do not include "materials/". .pngs are supported.</arg> </args> </function>