Garry's Mod Wiki

Revision Difference

IconEditor:SetIcon#553613

<function name="SetIcon" parent="IconEditor" type="panelfunc"> <ispanel>yes</ispanel>⤶ <description>Sets the <page>SpawnIcon</page> to modify. You should call <page>Panel:Refresh</page> immediately after this, as the user will not be able to make changes to the icon beforehand.</description> <realm>Client</realm> <args> <arg name="icon" type="Panel">The <page>SpawnIcon</page> object to be modified.</arg> </args> </function>