Garry's Mod Wiki

Revision Difference

ControlPanel:AddPanel#514375

<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>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="panel" type="Panel">Panel to add as an item to the control panel.</arg>⤶ </args>⤶ </function>⤶ ⤶