Advertisement
Rochet2

Untitled

Nov 15th, 2015
501
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. local npcid = 80000
  3.  
  4. function On_Gossip(unit, event, player)
  5.     unit:GossipCreateMenu(50, player, 0)
  6.    
  7.     local race=player:GetPlayerRace()
  8.     if race==2 or race==5 or race==6 or race==8 or race==10 then
  9.         unit:GossipMenuAddItem(0, "Horde Cities", 1, 0)
  10.     end
  11.     if race==1 or race==3 or race==4 or race==7 or race==11 then
  12.         unit:GossipMenuAddItem(0, "Alliance Cities", 2, 0)
  13.     end
  14.     unit:GossipMenuAddItem(1, "Level Road", 960, 0)
  15.     unit:GossipMenuAddItem(0, "Azeroth Locations", 3, 0)
  16.     unit:GossipMenuAddItem(0, "Azeroth Instances", 5, 0)
  17.     unit:GossipMenuAddItem(0, "Outland Locations", 6, 0)
  18.     unit:GossipMenuAddItem(0, "Outland Instances", 7, 0)
  19.     unit:GossipMenuAddItem(1, "Isle of Quel' Danas", 46,  0)
  20.     unit:GossipMenuAddItem(1, "Gurubashi Arena", 45,  0)
  21.     unit:GossipMenuAddItem(0, "Remove Ressurection Sickness", 900, 0)
  22.     unit:GossipSendMenu(player)
  23. end
  24.  
  25. function Gossip_Submenus(unit, event, player, id, intid, code)
  26.     if(intid == 75) then
  27.         On_Gossip(unit, event, player)
  28.     end
  29.    
  30.     if(intid == 1) then
  31.         unit:GossipCreateMenu(51, player, 0)
  32.         unit:GossipMenuAddItem(1, "Orgrimmar", 10, 0)
  33.         unit:GossipMenuAddItem(1, "Undercity", 11, 0)
  34.         unit:GossipMenuAddItem(1, "Thunder Bluff", 12, 0)
  35.         unit:GossipMenuAddItem(1, "Silvermoon", 13, 0)
  36.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  37.         unit:GossipSendMenu(player)
  38.     end
  39.    
  40.     if(intid == 2) then
  41.         unit:GossipCreateMenu(52, player, 0)
  42.         unit:GossipMenuAddItem(1, "Stormwind", 14, 0)
  43.         unit:GossipMenuAddItem(1, "Ironforge", 15, 0)
  44.         unit:GossipMenuAddItem(1, "Darnassus", 16, 0)
  45.         unit:GossipMenuAddItem(1, "Exodar", 17, 0)
  46.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  47.         unit:GossipSendMenu(player)
  48.     end
  49.    
  50.     if(intid == 3) then
  51.         unit:GossipCreateMenu(53, player, 0)
  52.         unit:GossipMenuAddItem(0, "Eastern Kingdoms", 40, 0)
  53.         unit:GossipMenuAddItem(0, "Kalidamor", 41, 0)
  54.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  55.         unit:GossipSendMenu(player)
  56.     end
  57.    
  58.     if(intid == 40) then
  59.         unit:GossipCreateMenu(54, player, 0)
  60.         unit:GossipMenuAddItem(1, "Alterac Mountains", 208, 0)
  61.         unit:GossipMenuAddItem(1, "Badlands", 214, 0)
  62.         unit:GossipMenuAddItem(1, "Blasted Lands", 222, 0)
  63.         unit:GossipMenuAddItem(1, "Burning Steppes", 216, 0)
  64.         unit:GossipMenuAddItem(1, "Deadwind Pass", 221, 0)
  65.         unit:GossipMenuAddItem(1, "Dun Morogh", 212, 0)
  66.         unit:GossipMenuAddItem(1, "Duskwood", 220, 0)
  67.         unit:GossipMenuAddItem(1, "Eastern Plaguelands", 206, 0)
  68.         unit:GossipMenuAddItem(1, "Elwynn Forest", 217, 0)
  69.         unit:GossipMenuAddItem(1, "Eversong Woods", 201, 0)
  70.         unit:GossipMenuAddItem(1, "Ghostlands", 202, 0)
  71.         unit:GossipMenuAddItem(0, "-->Second Page-->", 43, 0)
  72.         unit:GossipMenuAddItem(0, "[Back]", 3, 0)
  73.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  74.         unit:GossipSendMenu(player)
  75.     end
  76.    
  77.     if(intid == 41) then
  78.         unit:GossipCreateMenu(55, player, 0)
  79.         unit:GossipMenuAddItem(1, "Ashenvale", 109, 0)
  80.         unit:GossipMenuAddItem(1, "Azuremyst Isle", 103, 0)
  81.         unit:GossipMenuAddItem(1, "Bloodmyst Isle", 102, 0)
  82.         unit:GossipMenuAddItem(1, "Darkshore", 105, 0)
  83.         unit:GossipMenuAddItem(1, "Desolace", 113, 0)
  84.         unit:GossipMenuAddItem(1, "Durotar", 111, 0)
  85.         unit:GossipMenuAddItem(1, "Dustwallow Marsh", 117, 0)
  86.         unit:GossipMenuAddItem(1, "Felwood", 107, 0)
  87.         unit:GossipMenuAddItem(1, "Feralas", 116, 0)
  88.         unit:GossipMenuAddItem(1, "Moonglade", 106, 0)
  89.         unit:GossipMenuAddItem(1, "Mulgore", 115, 0)
  90.         unit:GossipMenuAddItem(0, "-->Second Page-->", 43, 0)
  91.         unit:GossipMenuAddItem(0, "[Back]", 3, 0)
  92.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  93.         unit:GossipSendMenu(player)
  94.     end
  95.    
  96.     if(intid == 42) then
  97.         unit:GossipCreateMenu(55, player, 0)
  98.         unit:GossipMenuAddItem(1, "Hillsbrad Foothills", 210, 0)
  99.         unit:GossipMenuAddItem(1, "Loch Modan", 213, 0)
  100.         unit:GossipMenuAddItem(1, "Redridge Mountains", 218, 0)
  101.         unit:GossipMenuAddItem(1, "Searing Gorge", 215, 0)
  102.         unit:GossipMenuAddItem(1, "Silverpine Forest", 207, 0)
  103.         unit:GossipMenuAddItem(1, "Strangethorn Vale", 223, 0)
  104.         unit:GossipMenuAddItem(1, "Swamp Of Sorrows", 219, 0)
  105.         unit:GossipMenuAddItem(1, "The Hinterlands", 209, 0)
  106.         unit:GossipMenuAddItem(1, "Trisfal Glades", 205, 0)
  107.         unit:GossipMenuAddItem(1, "Western Plaguelands", 203, 0)
  108.         unit:GossipMenuAddItem(1, "Wetlands", 211, 0)
  109.         unit:GossipMenuAddItem(0, "[Back]", 3, 0)
  110.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  111.         unit:GossipSendMenu(player)
  112.     end
  113.    
  114.     if(intid == 43) then
  115.         unit:GossipCreateMenu(55, player, 0)
  116.         unit:GossipMenuAddItem(1, "Stonetalon Mountains", 112, 0)
  117.         unit:GossipMenuAddItem(1, "Tanaris", 121, 0)
  118.         unit:GossipMenuAddItem(1, "Teldrassil", 100, 0)
  119.         unit:GossipMenuAddItem(1, "The Barrens", 114, 0)
  120.         unit:GossipMenuAddItem(1, "Thousand Needles", 118, 0)
  121.         unit:GossipMenuAddItem(1, "Un'Goro Crater", 119, 0)
  122.         unit:GossipMenuAddItem(1, "Winterspring", 108, 0)
  123.         unit:GossipMenuAddItem(0, "[Back]", 3, 0)
  124.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  125.         unit:GossipSendMenu(player)
  126.     end
  127.    
  128.     if(intid == 5) then
  129.         unit:GossipCreateMenu(56, player, 0)
  130.         unit:GossipMenuAddItem(1, "Shadowfang Keep", 19, 0)
  131.         unit:GossipMenuAddItem(1, "Zul'Gurub", 20, 0)
  132.         unit:GossipMenuAddItem(1, "Scarlet Monastery", 21, 0)
  133.         unit:GossipMenuAddItem(1, "Stratholme", 22, 0)
  134.         unit:GossipMenuAddItem(1, "Scholomance", 23, 0)
  135.         unit:GossipMenuAddItem(1, "Blackrock", 24, 0)
  136.         unit:GossipMenuAddItem(1, "Onyxia's Lair", 25, 0)
  137.         unit:GossipMenuAddItem(1, "Molten Core", 26, 0)
  138.         unit:GossipMenuAddItem(1, "Karazhan", 27, 0)
  139.         unit:GossipMenuAddItem(1, "Naxxramas", 28, 0)
  140.         unit:GossipMenuAddItem(1, "Caverns Of Time", 29, 0)
  141.         unit:GossipMenuAddItem(1, "Ruins of Ahn Qiraj", 501, 0)
  142.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  143.         unit:GossipSendMenu(player)
  144.     end
  145.    
  146.     if(intid == 6) then
  147.         unit:GossipCreateMenu(57, player, 0)
  148.         unit:GossipMenuAddItem(1, "Hellfire", 30, 0)
  149.         unit:GossipMenuAddItem(1, "Zangremarsh", 31, 0)
  150.         unit:GossipMenuAddItem(1, "Nagrand", 32, 0)
  151.         unit:GossipMenuAddItem(1, "Blades Edge", 33, 0)
  152.         unit:GossipMenuAddItem(1, "Netherstorm", 34, 0)
  153.         unit:GossipMenuAddItem(1, "Terokkar Forest", 35, 0)
  154.         unit:GossipMenuAddItem(1, "Shadowmoon Valley", 36, 0)
  155.         unit:GossipMenuAddItem(1, "Shattrath", 37, 0)
  156.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  157.         unit:GossipSendMenu(player)
  158.     end
  159.    
  160.     if(intid == 7) then
  161.         unit:GossipCreateMenu(58, player, 0)
  162.         unit:GossipMenuAddItem(0, "Outland Raids", 41, 0)
  163.         unit:GossipMenuAddItem(1, "Hellfire Ramparts", 430, 0)
  164.         unit:GossipMenuAddItem(1, "The BloodFurnace", 431, 0)
  165.         unit:GossipMenuAddItem(1, "Shattered Halls", 441, 0)
  166.         unit:GossipMenuAddItem(1, "Mana-Tombs", 434, 0)
  167.         unit:GossipMenuAddItem(1, "Sethekk Halls", 438, 0)
  168.         unit:GossipMenuAddItem(1, "Auchenai Crypts", 435, 0)
  169.         unit:GossipMenuAddItem(1, "Shadow Labyrinth", 440, 0)
  170.         unit:GossipMenuAddItem(1, "Caverns of Time", 436, 0)
  171.         unit:GossipMenuAddItem(1, "Shadow Labyrinth", 440, 0)
  172.         unit:GossipMenuAddItem(1, "Magisters Terrace", 445, 0)
  173.         unit:GossipMenuAddItem(0, "-->Second Page-->", 47, 0)
  174.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  175.         unit:GossipSendMenu(player)
  176.     end
  177.    
  178.     if(intid == 47) then
  179.         unit:GossipCreateMenu(59, player, 0)
  180.         unit:GossipMenuAddItem(1, "Gruul's Lair", 446, 0)
  181.         unit:GossipMenuAddItem(1, "Magtheridon's Lair", 447, 0)
  182.         unit:GossipMenuAddItem(1, "Zul'Aman", 448, 0)
  183.         unit:GossipMenuAddItem(1, "Serpentshrine Cavern", 449, 0)
  184.         unit:GossipMenuAddItem(1, "The Eye", 450, 0)
  185.         unit:GossipMenuAddItem(1, "Black Temple", 451, 0)
  186.         unit:GossipMenuAddItem(1, "Sunwell Plateau", 452, 0)
  187.         unit:GossipMenuAddItem(0, "[Back]", 7, 0)
  188.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  189.         unit:GossipSendMenu(player)
  190.     end
  191.    
  192.     if(intid == 48) then
  193.         unit:GossipCreateMenu(60, player, 0)
  194.         unit:GossipMenuAddItem(1, "The Mechanar", 442, 0)
  195.         unit:GossipMenuAddItem(1, "The Botanica", 443, 0)
  196.         unit:GossipMenuAddItem(1, "The Arcatraz", 444, 0)
  197.         unit:GossipMenuAddItem(1, "The Steamvault", 439, 0)
  198.         unit:GossipMenuAddItem(1, "Slave Pens", 432, 0)
  199.         unit:GossipMenuAddItem(1, "The Underbog", 433, 0)
  200.         unit:GossipMenuAddItem(0, "[Back]", 7, 0)
  201.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  202.         unit:GossipSendMenu(player)
  203.     end
  204.    
  205.     if(intid == 8) then
  206.         unit:GossipCreateMenu(50, player, 0)
  207.         unit:GossipMenuAddItem(1, "|cff0000ffGlobal Shoping Mall", 38, 0)
  208.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  209.         unit:GossipSendMenu(player)
  210.     end
  211.    
  212.     if(intid == 950) then
  213.         unit:GossipCreateMenu(50, player, 0)
  214.         unit:GossipMenuAddItem(1, "Table Jump", 972, 0)
  215.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  216.         unit:GossipSendMenu(player)
  217.     end
  218.    
  219.     if(intid == 960) then
  220.         unit:GossipCreateMenu(50, player, 0)
  221.         unit:GossipMenuAddItem(1, "Level Zone 1-10", 970, 0)
  222.         unit:GossipMenuAddItem(1, "Level Zone 10-20", 978, 0)
  223.         unit:GossipMenuAddItem(1, "Level Zone 20-30", 979, 0)
  224.         unit:GossipMenuAddItem(1, "Level Zone 30-40", 980, 0)
  225.         unit:GossipMenuAddItem(1, "Level Zone 40-65", 981, 0)
  226.         unit:GossipMenuAddItem(1, "Level Zone 65-80", 982, 0)
  227.         unit:GossipMenuAddItem(1, "Level Zone 80-100", 983, 0)
  228.         unit:GossipMenuAddItem(1, "Level Zone 100-125", 984, 0)
  229.         unit:GossipMenuAddItem(1, "Level Zone 130-135", 985, 0)
  230.         unit:GossipMenuAddItem(1, "Level Zone 160-175", 986, 0)
  231.         unit:GossipMenuAddItem(1, "Level Zone 180-195", 987, 0)
  232.         unit:GossipMenuAddItem(1, "Level Zone 200-215", 988, 0)
  233.         unit:GossipMenuAddItem(1, "Level Zone 220-235", 989, 0)
  234.         unit:GossipMenuAddItem(1, "Level Zone 240-255", 990, 0)
  235.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  236.         unit:GossipSendMenu(player)
  237.     end
  238.    
  239.    
  240.    
  241.     if(intid == 99) then
  242.         unit:GossipCreateMenu(61, player, 0)
  243.         unit:FullCastSpellOnTarget(33077, player)
  244.         unit:FullCastSpellOnTarget(33078, player)
  245.         unit:FullCastSpellOnTarget(33079, player)
  246.         unit:FullCastSpellOnTarget(33080, player)
  247.         unit:FullCastSpellOnTarget(33081, player)
  248.         unit:FullCastSpellOnTarget(33082, player)
  249.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  250.         unit:GossipSendMenu(player)
  251.     end
  252.    
  253.     if(intid == 98) then
  254.         unit:GossipCreateMenu(63, player, 0)
  255.         unit:FullCastSpellOnTarget(26565, player)
  256.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  257.         unit:GossipSendMenu(player)
  258.     end
  259.    
  260.     if(intid == 900) then
  261.         unit:GossipCreateMenu(62, player, 0)
  262.         player:LearnSpell(15007)
  263.         player:UnlearnSpell(15007)
  264.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  265.         unit:GossipSendMenu(player)
  266.     end
  267.    
  268.     if(intid == 97) then
  269.         unit:GossipCreateMenu(500, player, 0)
  270.         unit:GossipMenuAddItem(1, "Borean Tundra", 501, 0)
  271.         unit:GossipMenuAddItem(1, "Crystalsong Forest", 502, 0)
  272.         unit:GossipMenuAddItem(1, "Dalaran (City)", 503, 0)
  273.         unit:GossipMenuAddItem(1, "Dragonblight", 504, 0)
  274.         unit:GossipMenuAddItem(1, "Grizzly Hills", 505, 0)
  275.         unit:GossipMenuAddItem(1, "Howling Fjord", 506, 0)
  276.         unit:GossipMenuAddItem(1, "Icecrown", 507, 0)
  277.         unit:GossipMenuAddItem(1, "Sholazar Basin", 508, 0)
  278.         unit:GossipMenuAddItem(1, "The Storm Peaks", 509, 0)
  279.         unit:GossipMenuAddItem(1, "Zul'Dark", 510, 0)
  280.         unit:GossipMenuAddItem(1, "DK Start Zone", 511, 0)
  281.         unit:GossipMenuAddItem(0, "[Main Menu]", 75, 0)
  282.         unit:GossipSendMenu(player)
  283.     end
  284.    
  285.     if(intid == 10) then
  286.         player:Teleport(1, 1484, -4417, 25)
  287.     end
  288.     if(intid == 970) then
  289.         player:Teleport(1, 4637.399902, -3823.510010, 943.054016)
  290.     end
  291.    
  292.     if(intid == 971) then
  293.         player:Teleport(1, 1212.826416, 1747.401245, 68.750259)
  294.     end
  295.    
  296.     if(intid == 972) then
  297.         player:Teleport(0, -8255.095703, -3406.972412, 170.881912)
  298.     end
  299.    
  300.     if(intid == 973) then
  301.         player:Teleport(0, -7304.522949, -3816.520752, 336.437439)
  302.     end
  303.    
  304.     if(intid == 974) then
  305.         player:Teleport(1, 1866.138184, 355.782501, 177.155045)
  306.     end
  307.    
  308.     if(intid == 975) then
  309.         player:Teleport(530, 6635.565430, -6448.453125, 29.259853)
  310.     end
  311.    
  312.     if(intid == 976) then
  313.         player:Teleport(1, -6811.197266, -2888.856201, 10.070534)
  314.     end
  315.    
  316.     if(intid == 977) then
  317.         player:Teleport(0, -5090.377930, -1698.1040041, 497.884155)
  318.     end
  319.    
  320.     if(intid == 978) then
  321.         player:Teleport(1, 4645.173828, -3707.020020, 951.312622)
  322.     end
  323.    
  324.     if(intid == 979) then
  325.         player:Teleport(1, 4574.240234, -3618.620117, 969.581970)
  326.     end
  327.    
  328.     if(intid == 980) then
  329.         player:Teleport(1, 4517.688477, -3528.081055, 987.510437)
  330.     end
  331.    
  332.     if(intid == 981) then
  333.         player:Teleport(1, 4459.339844, -3422.870117, 1003.849976)
  334.     end
  335.    
  336.     if(intid == 982) then
  337.         player:Teleport(1, 4426.229980, -3297.639893, 1020.559998)
  338.     end
  339.    
  340.     if(intid == 983) then
  341.         player:Teleport(1, 4435.470215, -3231.610107, 1030.900024)
  342.     end
  343.    
  344.     if(intid == 984) then
  345.         player:Teleport(1, 4443.549805, -3117.389893, 1038.530029)
  346.     end
  347.    
  348.     if(intid == 985) then
  349.         player:Teleport(1, 4351.490234, -3030.449951, 1049.310059)
  350.     end
  351.    
  352.     if(intid == 986) then
  353.         player:Teleport(1, 4288.235352, -2908.765137, 1079.057251)
  354.     end
  355.    
  356.     if(intid == 987) then
  357.         player:Teleport(1, 4289.426758, -2827.556152, 1091.098389)
  358.     end
  359.    
  360.     if(intid == 988) then
  361.         player:Teleport(1, 4288.279785, -2744.750000, 1100.699951)
  362.     end
  363.    
  364.     if(intid == 989) then
  365.         player:Teleport(1, 4287.020020, -2710.7600010, 1103.420044)
  366.     end
  367.    
  368.     if(intid == 990) then
  369.         player:Teleport(1, 4293.462402, -2588.236328, 1121.064331)
  370.     end
  371.    
  372.     if(intid == 11) then
  373.         player:Teleport(0, 1831, 238, 60)
  374.     end
  375.    
  376.     if(intid == 12) then
  377.         player:Teleport(1, -1277, 118, 131)
  378.     end
  379.    
  380.     if(intid == 13) then
  381.         player:Teleport(530, 9413, -7277, 14)
  382.     end
  383.    
  384.     if(intid == 14) then
  385.         player:Teleport(0, -8913.23, 554.633, 94.7944)
  386.     end
  387.    
  388.    
  389.     if(intid == 15) then
  390.         player:Teleport(0, -4981.25, -881.542, 502.66)
  391.     end
  392.    
  393.     if(intid == 16) then
  394.         player:Teleport(1, 9948, 2413, 1327)
  395.     end
  396.    
  397.     if(intid == 17) then
  398.         player:Teleport(530, -4014.080078, -11895.799805, -1.990842)
  399.     end
  400.    
  401.     if(intid == 19) then
  402.         player:Teleport(0, -234.495087, 1561.946411, 76.892143)
  403.     end
  404.    
  405.     if(intid == 20) then
  406.         player:Teleport(0, -11919.073242, -1202.459374, 92.298744)
  407.     end
  408.    
  409.     if(intid == 21) then
  410.         player:Teleport(0, 2870.442627, -819.985229, 160.331085)
  411.     end
  412.    
  413.     if(intid == 22) then
  414.         player:Teleport(0, 3359.111572, -3380.8444238, 144.781860)
  415.     end
  416.    
  417.     if(intid == 23) then
  418.         player:Teleport(0, 1267.468628, -2556.651367, 94.127983)
  419.     end
  420.    
  421.     if(intid == 24) then
  422.         player:Teleport(0, -7527.129883, -1224.997437, 285.733002)
  423.     end
  424.    
  425.     if(intid == 25) then
  426.         player:Teleport(1, -4708.491699, -3727.672363, 54.535076)
  427.     end
  428.    
  429.     if(intid == 26) then
  430.         player:Teleport(0, -7515.409668, -1045.369629, 182.301208)
  431.     end
  432.    
  433.     if(intid == 27) then
  434.         player:Teleport(0, -11122.913086, -2014.498779, 47.079350)
  435.     end
  436.    
  437.     if(intid == 28) then
  438.         player:Teleport(0, 3132.915283, -3731.012939, 138.658371)
  439.     end
  440.    
  441.     if(intid == 29) then
  442.         player:Teleport(1, -8519.718750, -4297.542480, -208.441376)
  443.     end
  444.    
  445.     if(intid == 30) then
  446.         player:Teleport(530, -247.9672, 948.5709, 84.3798)
  447.     end
  448.    
  449.     if(intid == 31) then
  450.         player:Teleport(530, -1045.0179, 5380.0288, 22.1216)
  451.     end
  452.    
  453.     if (intid == 32) then
  454.         player:Teleport(530, -468, 8418, 28)
  455.     end
  456.    
  457.     if(intid == 33) then
  458.         player:Teleport(530, 1552.2236, 6813.3798, 125.1364)
  459.     end
  460.    
  461.     if(intid == 34) then
  462.         player:Teleport(530, 3396, 4185, 137)
  463.     end
  464.    
  465.     if(intid == 35) then
  466.         player:Teleport(530, -2276.82, 5132.03, -8.62994)
  467.     end
  468.    
  469.     if(intid == 36) then
  470.         player:Teleport(530, -3004.3488, 2968.4343, 81.8821)
  471.     end
  472.    
  473.     if(intid == 37) then
  474.         player:Teleport(530, -1849.4200, 5401.4599, -12.4279)
  475.     end
  476.    
  477.     if(intid == 38) then
  478.         player:Teleport(1, 7350.652832, -1544.678955, 160.694489)
  479.     end
  480.    
  481.     if(intid == 45) then
  482.         player:Teleport(0, -13229.338867, 225.065948, 32.641949)
  483.     end
  484.    
  485.     if(intid == 46) then
  486.         player:Teleport(530, 12956.072266, -6943.814453, 9.968110)
  487.     end
  488.    
  489.     if(intid == 100) then
  490.         player:Teleport(1, 9874.646484, 595.742432, 1303.874023)
  491.     end
  492.    
  493.     if(intid == 102) then
  494.         player:Teleport(530, -2721.68, -12208.9, 10.0882)
  495.     end
  496.    
  497.     if(intid == 103) then
  498.         player:Teleport(530, -4020.48, -13783.3, 74.9001)
  499.     end
  500.    
  501.     if(intid == 105) then
  502.         player:Teleport(1, 6207.5, -152.833, 80.8185)
  503.     end
  504.    
  505.     if(intid == 106) then
  506.         player:Teleport(1, 7964.626465, -2497.530762, 487.594971)
  507.     end
  508.    
  509.     if(intid == 107) then
  510.         player:Teleport(1, 5483.9, -749.881, 335.621)
  511.     end
  512.    
  513.     if(intid == 108) then
  514.         player:Teleport(1, 6107.62, -4181.6, 853.322)
  515.     end
  516.    
  517.     if(intid == 109) then
  518.         player:Teleport(1, 2717.1, 5967.91, 107.4)  (1, 3469.43, 847.62, 6.36476)
  519.     end
  520.    
  521.     if(intid == 111) then
  522.         player:Teleport(1, 341.42, -4684.7, 31.9493)
  523.     end
  524.    
  525.     if(intid == 112) then
  526.         player:Teleport(1, 1145.85, 664.812, 143)
  527.     end
  528.    
  529.     if(intid == 113) then
  530.         player:Teleport(1, -93.1614, 1691.15, 90.0649)
  531.     end
  532.    
  533.     if(intid == 114) then
  534.         player:Teleport(1, -90.19003, -1943.44, -180.4727)
  535.     end
  536.    
  537.     if(intid == 115) then
  538.         player:Teleport(1, -1840.75, 5359, -7.845)
  539.     end
  540.    
  541.     if(intid == 116) then
  542.         player:Teleport(1, -4458.93, 243.415, -65.6136)
  543.     end
  544.    
  545.     if(intid == 117) then
  546.         player:Teleport(1, -3463.26, -4123.13, 18.1043)
  547.     end
  548.    
  549.     if(intid == 118) then
  550.         player:Teleport(1, -4932.53, -1596.05, 85.8157)
  551.     end
  552.    
  553.     if(intid == 119) then
  554.         player:Teleport(1, -7932.61, -2139.61, -229.728)
  555.     end
  556.    
  557.     if(intid == 120) then
  558.         player:Teleport(1, -7327.365234, 999.749573, 2.014236)
  559.     end
  560.    
  561.     if(intid == 121) then
  562.         player:Teleport(1, -7373.69, -2950.2, -30.7598)
  563.     end
  564.    
  565.     if(intid == 201) then
  566.         player:Teleport(530, 9449.15, -6782.61, 16.6167)
  567.     end
  568.    
  569.     if(intid == 202) then
  570.         player:Teleport(530, 7880, -6193, 22)
  571.     end
  572.    
  573.     if(intid == 203) then
  574.         player:Teleport(0, 1224.36, -1151.97, 61.7327)
  575.     end
  576.    
  577.     if(intid == 205) then
  578.         player:Teleport(0, 2019.35, 1904.36, 106.144)
  579.     end
  580.    
  581.     if(intid == 206) then
  582.         player:Teleport(0, 1919.44, -4306.23, 77.838)
  583.     end
  584.    
  585.     if(intid == 207) then
  586.         player:Teleport(0, 511.536, 1638.63, 121.417)
  587.     end
  588.    
  589.     if(intid == 208) then
  590.         player:Teleport(0, 272.704, -654.514, 129.609)
  591.     end
  592.    
  593.     if(intid == 209) then
  594.         player:Teleport(0, 139.375, -1982.79, 134.043)
  595.     end
  596.    
  597.     if(intid == 210) then
  598.         player:Teleport(0, -852.854, -576.712, 21.0293)
  599.     end
  600.    
  601.     if(intid == 211) then
  602.         player:Teleport(0, -4086.36, -2610.95, 47.0143)
  603.     end
  604.    
  605.     if(intid == 212) then
  606.         player:Teleport(0, -5425.924316, -224.271957, 404.984344)
  607.     end
  608.    
  609.     if(intid == 213) then
  610.         player:Teleport(0, -4939.1, -3423.74, 306.595)
  611.     end
  612.    
  613.     if(intid == 214) then
  614.         player:Teleport(0, -6018.138184, -3311.517822, 261.744324)
  615.     end
  616.    
  617.     if(intid == 215) then
  618.         player:Teleport(0, -7176.63, -937.667, 171.206)
  619.     end
  620.    
  621.     if(intid == 216) then
  622.         player:Teleport(0, -7907.41, -1128.66, 192.056)
  623.     end
  624.    
  625.     if(intid == 217) then
  626.         player:Teleport(0, -9621.383789, -371.068207, 57.471478)
  627.     end
  628.    
  629.     if(intid == 218) then
  630.         player:Teleport(0, -9219.37, -2149.94, 71.606)
  631.     end
  632.    
  633.     if(intid == 219) then
  634.         player:Teleport(0, -10264.6, -3059.9, 19.9356)
  635.     end                        
  636.    
  637.     if(intid == 220) then
  638.         player:Teleport(0, -11224.254883, -378.471802, 52.764240)
  639.     end
  640.    
  641.     if(intid == 221) then
  642.         player:Teleport(0, -10435.4, -1809.28, 101)
  643.     end
  644.    
  645.     if(intid == 222) then
  646.         player:Teleport(0, -11204.5, -2730.61, 15.8972)
  647.     end
  648.    
  649.     if(intid == 223) then
  650.         player:Teleport(0, -11634.8, -54.0697, 14.4439)
  651.     end
  652.    
  653.     if(intid == 430) then
  654.         player:Teleport(530, -360.671, 3071.9, -15.0977)
  655.     end
  656.    
  657.     if(intid == 431) then
  658.         player:Teleport(542, -3.9967, 14.6363, -44.8009)
  659.     end
  660.    
  661.     if(intid == 432) then
  662.         player:Teleport(530, 721.926, 7012.24, -73.065)
  663.     end
  664.    
  665.     if(intid == 433) then
  666.         player:Teleport(530, 779.802, 6769.33, -71.4282)
  667.     end
  668.    
  669.     if(intid == 434) then
  670.         player:Teleport(530, -3101.47, 4947.11, -101.177)
  671.     end
  672.    
  673.     if(intid == 435) then
  674.         player:Teleport(530, -3357.32, 5216.77, -101.049)
  675.     end
  676.    
  677.     if(intid == 436) then
  678.         player:Teleport(1, -8195.94, -4500.13, 9.60819)
  679.     end
  680.    
  681.     if(intid == 438) then
  682.         player:Teleport(530, -3360.13, 4667.85, -101.047)
  683.     end
  684.    
  685.     if(intid == 439) then
  686.         player:Teleport(0, -11634.8, -54.0697, 14.4439)
  687.     end
  688.    
  689.     if(intid == 440) then
  690.         player:Teleport(530, -3635.76, 4931.82, -100.034)
  691.     end
  692.    
  693.     if(intid == 441) then
  694.         player:Teleport(530, -309.83, 3080.08, -3.63538)
  695.     end
  696.    
  697.     if(intid == 442) then
  698.         player:Teleport(530, 2885.2, 1564.73, 248.874)
  699.     end
  700.    
  701.     if(intid == 443) then
  702.         player:Teleport(530, 3405.48, 1489.14, 183.838)
  703.     end
  704.    
  705.     if(intid == 444) then
  706.         player:Teleport(530, 2872, 1555.29, 253.159)
  707.     end
  708.    
  709.     if(intid == 445) then
  710.         player:Teleport(585, 2.19347, -0.123698, -2.8025)
  711.     end
  712.    
  713.     if(intid == 446) then
  714.         player:Teleport(530, 3606.85, 5260.49, 4.1724)
  715.     end
  716.    
  717.     if(intid == 447) then
  718.         player:Teleport(530, -319.635, 3102.03, -113.937)
  719.     end
  720.    
  721.     if(intid == 448) then
  722.         player:Teleport(530, 6850, -7950, 170)
  723.     end
  724.    
  725.     if(intid == 449) then
  726.         player:Teleport(530, 742.883, 6867.19, -68.8289)
  727.     end
  728.    
  729.     if(intid == 450) then
  730.         player:Teleport(530, 3087.22, 1380.7, 184.883)
  731.     end
  732.    
  733.     if(intid == 451) then
  734.         player:Teleport(530, -3604.74, 328.252, 38.3077)
  735.     end
  736.    
  737.     if(intid == 452) then
  738.         player:Teleport(580, 1791.17, 926.31, 15.1135)
  739.     end
  740.    
  741.     if(intid == 501) then
  742.         player:Teleport(1, -8413.388719, 1505.588745, 30.655403)
  743.     end
  744.    
  745.     if(intid == 502) then
  746.         player:Teleport(571, 5434.8281, -1022.4812, 175.0125)
  747.     end
  748.    
  749.     if(intid == 503) then
  750.         player:Teleport(571, 5811.4067, 647.7883, 647.4152)
  751.     end
  752.    
  753.     if(intid == 504) then
  754.         player:Teleport(571, 3511.6850, 2841.8454, 36.7473)
  755.     end
  756.    
  757.     if(intid == 505) then
  758.         player:Teleport(571, 3346.2551, -4486.8173, 259.2319)
  759.     end
  760.    
  761.     if(intid == 506) then
  762.         player:Teleport(571, 2195.3654, -4526.7729, 216.7943)
  763.     end
  764.    
  765.     if(intid == 507) then
  766.         player:Teleport(571, 6729.2387, 2510.4931, 427.7868)
  767.     end
  768.    
  769.     if(intid == 508) then
  770.         player:Teleport(570, 4913.3090, 5536.0737, -76.4190)
  771.     end
  772.    
  773.     if(intid == 509) then
  774.         player:Teleport(571, 6196.4174, -776.7462, 402.3688)
  775.     end
  776.    
  777.     if(intid == 510) then
  778.         player:Teleport(571, 5443.4326, -1259.7487, 248.7494)
  779.     end
  780.    
  781.     if(intid == 511) then
  782.         player:Teleport(609, 2355.7048, -5662.7075, 426.0274)
  783.     end
  784.    
  785.     if(intid == 521) then
  786.         player:Teleport(574, 149, -88, 13)
  787.     end
  788.    
  789.     if(intid == 522) then
  790.         player:Teleport(575, 570, -327, 111)
  791.     end
  792.    
  793.     if(intid == 523) then
  794.         player:Teleport(576, 146, -10, -16)
  795.     end
  796.    
  797.     if(intid == 524) then
  798.         player:Teleport(578, 1129, 1052, 70)
  799.     end
  800.    
  801.     if(intid == 525) then
  802.         player:Teleport(599, 1153, 811, 196)
  803.     end
  804.    
  805.     if(intid == 526) then
  806.         player:Teleport(602, 1333, -237, 41)
  807.     end
  808.    
  809.     if(intid == 527) then
  810.         player:Teleport(603, 1739, 310, 119)
  811.     end
  812.    
  813.     if(intid == 528) then
  814.         player:Teleport(600, -518, -488, 11)
  815.     end
  816.    
  817.     if(intid == 529) then
  818.         player:Teleport(604, 2031, 805, 246)
  819.     end
  820.    
  821.     if(intid == 530) then
  822.         player:Teleport(1, -8638, -4382, -207)
  823.     end
  824.    
  825.     if(intid == 531) then
  826.         player:Teleport(595, 1967, 1287, 146)
  827.     end
  828.    
  829.     if(intid == 532) then
  830.         player:Teleport(595, 2300, 1495, 129)
  831.     end
  832.    
  833.     if(intid == 533) then
  834.         player:Teleport(595, 2258.3, 1153.6, 139)
  835.     end
  836.    
  837.     if(intid == 534) then
  838.         player:Teleport(595, 1560.4, 603.3, 100)
  839.     end
  840.    
  841.     if(intid == 535) then
  842.         player:Teleport(595, 1654.3, 1611.9, 117)
  843.     end
  844.    
  845.     if(intid == 536) then
  846.         player:Teleport(607, 1605, 32, 23)
  847.     end
  848.    
  849.     if(intid == 550) then
  850.         player:Teleport(0, -8229.715820, -3410.278320, 171.874481)
  851.     end
  852. end
  853.  
  854. RegisterUnitGossipEvent(npcid, 1, "On_Gossip")
  855. RegisterUnitGossipEvent(npcid, 2, "Gossip_Submenus")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement