Garry's Mod Wiki

Garry's Mod Wiki

  Panel DMenuBar:AddOrGetMenu( string label )

Description

Retrieves a DMenu object from the menu bar. If one with the given label doesn't exist, a new one is created.

To add a DMenu without checking, use DMenuBar:AddMenu.

Arguments

1 string label
The name (label) of the derma menu to get or create.

Returns

1 Panel
The DMenu with the given label.

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...