function onStepIn(cid, item, position, fromPosition)
local pozycja = {x=1000, y=1000, z=7}
if isPlayer(cid) then
if getPlayerStorageValue(cid, 12000) == 1 then
doTeleportThing(cid, pozycja)
doSendMagicEffect(pozycja, 10)
doPlayerSendTextMessage(cid, 20, 'You may pass.')...