Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local t = {level = 50000}
- local position {x = -1, y = -1, z = -1}
- function onStepIn(cid, item, position, fromPosition)
- lvl = getPlayerLevel(cid)
- if isPlayer(cid) && lvl < 50000 then
- doTeleportThing(cid, position)
- doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You need level ' .. t.level .. ' to go through here.')
- else
- doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, k and 'Enjoy Going where you are going.')
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement