Coloque em lua_scripts.
Código:
local NPC_ID = 800003
function On_Gossip(event, plr, unit)
-- Menus
plr:GossipMenuAddItem(0, "EDITE", 0, 1)
plr:GossipMenuAddItem(0, "EDITE", 0, 2)
plr:GossipMenuAddItem(0, "EDITE", 0, 3)
plr:GossipMenuAddItem(0, "EDITE", 0, 4)
plr:GossipMenuAddItem(0, "EDITE", 0, 5)
plr:GossipMenuAddItem(0, "EDITE", 0, 6)
plr:GossipSendMenu(1, unit)
end
function On_Select(event, player, unit, sender, intid, code)
-- Custom messages
if (intid == 1) then
player:SendBroadcastMessage("Freza, mais informacoes acesse http://bg-games.forumeiro.com/t8996-download-freza-repack-free")
end
if (intid == 2) then
player:SendBroadcastMessage("Freza, mais informacoes acesse http://bg-games.forumeiro.com/t8996-download-freza-repack-free")
end
if (intid == 3) then
player:SendBroadcastMessage("Freza, mais informacoes acesse http://bg-games.forumeiro.com/t8996-download-freza-repack-free")
end
if (intid == 4) then
player:SendBroadcastMessage("Freza, mais informacoes acesse http://bg-games.forumeiro.com/t8996-download-freza-repack-free")
end
if (intid == 5) then
player:SendBroadcastMessage("Freza, mais informacoes acesse http://bg-games.forumeiro.com/t8996-download-freza-repack-free")
end
if (intid == 6) then
player:SendBroadcastMessage("Freza, mais informacoes acesse http://bg-games.forumeiro.com/t8996-download-freza-repack-free")
end
player:GossipComplete()
end
RegisterCreatureGossipEvent(NPC_ID, 1, On_Gossip)
RegisterCreatureGossipEvent(NPC_ID, 2, On_Select)