Lua Events/OnTabAdded

From PZwiki



Event

OnTabAdded

Description

Triggered when a chat tab is added.

Parameters

  • String The name of the chat tab which was added.
  • Integer The identifier of the chat tab which was added.

Examples

local function OnTabAdded(tabTitle, tabId)
	-- Your code here
end

Events.OnTabAdded.Add(OnTabAdded)

See also