Advertisement
Guest User

Untitled

a guest
Aug 10th, 2016
527
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. quest teleport begin
  2. state start begin
  3. when login begin
  4. cmdchat("Teleport index"..q.getcurrentquestindex())
  5. end
  6. when info or button begin
  7. local i = tonumber(input(cmdchat("Teleport GetInfo")))+1
  8. if type(i) != "number" then return end
  9. local warp = teleport.warp_kords()
  10. if warp[i] == nil then return end
  11. pc.warp(warp[i][1],warp[i][2])
  12. end
  13.  
  14. function warp_kords()
  15. return {
  16. {474300,954800},
  17. {353100,882900},
  18. {959900,269200},
  19. {863900,246000},
  20. {63700,166300},
  21. {145400,239700},
  22. {332900,745600},
  23. {295600,548100},
  24. {434700,214200},
  25. {60000,496000},
  26. {590500,110500},
  27. {704100,464100},
  28. {1119900,70800},
  29. {778800,1421800},
  30. {607900,685000},
  31. }
  32. end
  33. end
  34. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement