Ello!
I have made a little LUA script, and I'm a total noob, so bare with me.
This is how it looks?
Code:
function On_Gossip(unit, event, player)
unit:GossipCreateMenu(50, player, 0)
unit:GossipMenuAddItem(0, "Fun Places!", 1, 0)
unit:GossipSendMenu(player)
end
function Gossip_Submenus(unit, event, player, id, intid, code)
if(intid == 1) then
unit:GossipCreateMenu(51, player, 0)
unit:GossipMenuAddItem(1, "Shopping Mall", 10, 0)
unit:GossipSendMenu(player)
end
if(intid == 10) then
player:Teleport(1, 7444, -1692, 2)
end
RegisterUnitGossipEvent(60008, 1, "On_GossipMenu")
RegisterUnitGossipEvent(60008, 2, "On_GossipSelect")
Does anyone know what's wrong? :P