Recent Posts
None | 17 sec ago
Lua | 26 sec ago
None | 56 sec ago
None | 1 min ago
Java | 2 min ago
None | 2 min ago
C | 2 min ago
C | 2 min ago
None | 2 min ago
Lua | 2 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
By ss on the 9th of Feb 2010 11:13:25 PM
Download |
Raw |
Embed |
Report
function A_OnGossipTalk(pUnit, event, Player, pMisc)
if (Player:IsInCombat() == true) then
Player:SendAreaTriggerMessage("Please leave combat first.")
Player:SendBroadcastMessage("Please leave combat first.")
pUnit:GossipComplete(player)
else
pUnit:GossipCreateMenu(44424, Player, 0)
pUnit:GossipMenuAddItem(0, "Do you wish to get a key for Terracotta army", 12, 0)
pUnit:GossipMenuAddItem(0, "No I don't want to get a key.", 9, 0)
pUnit:GossipSendMenu(Player)
end
end
function A_OnGossipSelect(pUnit, event, Player, id, intid, code, pMisc)
if (intid == 12) and Player~= nil then
Player:GossipSendPOI(Player, 7864.668945, -1397.432983, 5, 6, 0, "Checkpoint 1")
local Name = Player:GetName()
pUnit:SendChatMessage(12, 0, "Look on your map and minimap "..Name.." to see where to go first!")
pUnit:GossipComplete(Player)
end
Submit a correction or amendment below.
Make A New Post