Hi there, this is a MoveEvent script that when you walk on the tile it pushes you back if you are not correct level, the problem is.. it doesnt push you back but the rest functions very well.
Ive set AID: 16821 on the movements.xml
Well heres the script
Ive set AID: 16821 on the movements.xml
Code:
<movevent type="StepIn" actionid="16821" event="script" value="leveltile.lua" />
LUA:
function onStepIn(cid, item, frompos, itemEx, topos)
if getPlayerLevel(cid) > 140 then
doPlayerSendTextMessage(cid, "Good Luck.")
else
doPlayerSendCancel(cid, "You need to be level 140 to enter this Sky Quest")
doTeleportThing(cid, frompos, true)
end
return true
end