Garry's Mod Wiki

Revision Difference

ControlPanel:AddPanel#552150

<function name="AddPanel" parent="ControlPanel" type="panelfunc"> <ispanel>yes</ispanel> <description>Adds an item by calling <page>DForm:AddItem</page>.</description> <file line="41-L46">gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua</file> <file line="29-L34">gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua</file> <realm>Client</realm> <args> <arg name="panel" type="Panel">Panel to add as an item to the control panel.</arg> </args> </function>