newPos = {x=123, y=123, z=7}
Storage = 8080
function onStepIn(cid, item, position, fromPosition)
if isPlayer(cid) == TRUE then
if getPlayerStorageValue(cid, Storage) == TRUE then
doTeleportThing(cid, newPos, TRUE)
doSendMagicEffect(position, 12)
doSendMagicEffect(newPos, 12)
else
doPlayerSendCancel(cid, "Only special players can be teleported")
doTeleportThing(cid, fromPosition, TRUE)
end
end
return TRUE
end