ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. guiCreateTab

Function

guiCreateTab

ClientInterface (GUI)Identical to MTA:SA

Adds a tab to a panel. The tab is the parent of its controls.

Syntax

gui-tab guiCreateTab(string text, gui-tabpanel parent)

Arguments

textstring
Tab title.
parentgui-tabpanel
The panel.

Returns

The tab.

Example

local settings = guiCreateTab("Ustawienia", tabs)
guiCreateCheckBox(10, 10, 200, 24, "Muzyka", true, false, settings)

See also