Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. function onStepIn(cid, frompos, topos)
  2.         local pos = {z = 00000, x = 00000, y = 0)
  3.         if isPlayer(cid) then
  4.             if getPlayerLevel(cid) > 50 then
  5.                     doTeleportThing(cid, pos, false)
  6.                     doSendMagicEffect(cid, CONST_ME_TELEPORT)
  7.                 else
  8.                     doTeleportThing(cid, frompos, false)
  9.                     doSendMagicEffect(cid, CONST_ME_TELEPORT)
  10.                 end
  11.             end
  12.         return TRUE
  13.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement