Guest User

adssdasdaads

a guest
Sep 25th, 2009
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. function On_Gossip(unit, event, player)
  2. unit:GossipCreateMenu(50, player, 0)
  3. unit:GossipMenuAddItem(0, "Riding Skills!", 1, 0)
  4. unit:GossipSendMenu(player)
  5. end
  6.  
  7. function Gossip_Submenus(unit, event, player, id, intid, code)
  8. if(intid == 1) then
  9. player:LearnSpell(33389)
  10. player:LearnSpell(34093)
  11. player:LearnSpell(33392)
  12. player:LearnSpell(34092)
  13. player:LearnSpell(54197)
  14. player:GossipComplete()
  15. end
  16. end
  17.  
  18. RegisterUnitGossipEvent(76666, 1, "On_Gossip")
  19. RegisterUnitGossipEvent(76666, 2, "Gossip_Submenus")
Add Comment
Please, Sign In to add comment