Guest User

Untitled

a guest
Jan 18th, 2013
38
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         -- Check for a delay, if so, teleport player after specified delay, else, just teleport the player
  2.  
  3.         if teleport_delay ~= 0 then
  4.             minetest.after(teleport_delay, teleport_player, p)
  5.             return
  6.         else
  7.             requester:setpos(p)
  8.             tpr_list[name] = nil
  9.         end
  10.  
  11.         -- Set name values to nil to prevent re-teleporting on the same request.
  12.  
  13.     end
  14. end
  15.  
  16. function teleport_player(param)
  17.     local requester = tpr_list[value_carryover]
  18.         requester:setpos(param)
  19. end
  20. --Initalize
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×