Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onStepIn(cid, frompos, topos)
- local pos = {z = 00000, x = 00000, y = 0)
- if isPlayer(cid) then
- if getPlayerLevel(cid) > 50 then
- doTeleportThing(cid, pos, false)
- doSendMagicEffect(cid, CONST_ME_TELEPORT)
- else
- doTeleportThing(cid, frompos, false)
- doSendMagicEffect(cid, CONST_ME_TELEPORT)
- end
- end
- return TRUE
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement