Advertisement
Rochet2

Kevin

Mar 9th, 2013
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local NPC_ID = 112112
  2.  
  3. local function On_GossipMenu(event, player, unit)
  4.     player:GossipMenuAddItem(1, "Morph", 0, 1)
  5.     player:GossipMenuAddItem(2, "Full Heal", 0, 2)
  6.     player:GossipMenuAddItem(2, "Remove Resurrection Sickness", 0, 3)
  7.     player:GossipMenuAddItem(3, "Learn weapon skills", 0, 4)
  8.     player:GossipMenuAddItem(3, "Advance weapon skills", 0, 5)
  9.     player:GossipMenuAddItem(3, "Artisan Riding", 0, 6)
  10.     player:GossipSendMenu(1, unit)
  11. end
  12.  
  13. local function On_GossipSelect(event, player, unit, sender, intid, code)
  14.     if (intid == 1) then
  15.         player:GossipMenuAddItem(1, "Taunka", 0, 10)
  16.         player:GossipMenuAddItem(1, "TEST", 0, 10)
  17.         player:GossipSendMenu(1, unit)
  18.     end
  19. end
  20.  
  21. RegisterCreatureGossipEvent(NPC_ID, 1, On_GossipMenu)
  22. RegisterCreatureGossipEvent(NPC_ID, 2, On_GossipSelect)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement