Functions/DarkRP/Client/addF4MenuTab

From DarkRP
Jump to navigation Jump to search
Function
Function name DarkRP.addF4MenuTab(string name, Panel panel)
Description:
Add a tab to the F4 menu.
Returns: number index, Panel sheet
Part of Library: DarkRP
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Client/addF4MenuTab]DarkRP.addF4MenuTab[/url][/b]

Function parameters[edit]

  1. name (string)
  2. The title of the tab.

  3. panel (Panel)
  4. The panel of the tab.


Function return values[edit]

  1. index (number)
  2. The index of the tab in the menu. This is the number you use for the tab in DarkRP.switchTabOrder.

  3. sheet (Panel)
  4. The tab sheet.