Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quest teleport begin
- state start begin
- when login begin
- cmdchat("Teleport index"..q.getcurrentquestindex())
- end
- when info or button begin
- local i = tonumber(input(cmdchat("Teleport GetInfo")))+1
- if type(i) != "number" then return end
- local warp = teleport.warp_kords()
- if warp[i] == nil then return end
- pc.warp(warp[i][1],warp[i][2])
- end
- function warp_kords()
- return {
- {474300,954800},
- {353100,882900},
- {959900,269200},
- {863900,246000},
- {63700,166300},
- {145400,239700},
- {332900,745600},
- {295600,548100},
- {434700,214200},
- {60000,496000},
- {590500,110500},
- {704100,464100},
- {1119900,70800},
- {778800,1421800},
- {607900,685000},
- }
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement