Sounds like a personal problemthere's no action, didn't work
anyone above 50k can enter !!
ask me if i care?Returning false doesn't cancel the step, add doTeleportThing(cid, fromPosition) below if getPlayerLevel(cid) > level then
function onStepIn(cid, item, position, fromPosition)
if getPlayerLevel(cid) >= 50000 then
doTeleportThing(cid, fromPosition)
doPlayerSendCancel(cid, "You need to be lower than level 50k.")
else
doTeleportThing(cid, {x = 100, y = 100, z = 7}) -- where it should teleport
end
return 1
end
function onStepIn(cid, item, position, fromPosition)
if getPlayerLevel(cid) >= 50000 then
doTeleportThing(cid, {x = 100, y = 100, z = 7}) -- position where it should push the player back to
doPlayerSendCancel(cid, "You need to be lower than level 50k.")
else
doTeleportThing(cid, {x = 100, y = 100, z = 7}) -- where it should teleport
end
return 1
end