Advertisement
Guest User

Lua Teleporter..

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