LuaBridge:Methods:GossipMenu:Send

From ArcEmu-Wiki
Jump to: navigation, search

Sends the menu to the specified player

Usage:

local function OnHello( this, _, _plr)
 local menu = GossipMenu(this:GetGUID(), 500, 0)
 menu:AddItem(0, "Hello there ".._plr:GetName(), 1)
 menu:Send( _plr)
end

Return to Methods

Personal tools