Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cfg = {
- pos_go = {x = 32991, y = 31539, z = 1},
- pos_back = {x = 32991, y = 31539, z = 4},
- }
- function onUse(cid, item, frompos, item2, topos)
- if item.actionid == 2901 then
- doTeleportThing(cid, cfg.pos_go)
- end
- if item.actionid == 2902 then
- doTeleportThing(cid, cfg.pos_back)
- doPlayerSendTextMessage(cid, 27, "You will be back.")
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement