Garry's Mod Wiki

Garry's Mod Wiki

  table DColumnSheet:AddSheet( string name, Panel pnl, string icon = nil )

Description

Adds a new column/tab.

Arguments

1 string name
Name of the column/tab
2 Panel pnl
Panel to be used as contents of the tab. This normally would be a DPanel
3 string icon = nil
Icon for the tab. This will ideally be a silkicon, but any material name can be used.

Returns

1 table
A table containing the following keys:
  • Panel Tab - The created tab button that will switch to the given panel
  • Panel Panel - The given panel to switch to when the button is pressed

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...