function onUse(cid, item, fromPosition, itemEx, toPosition)
local pos = {x=toPosition.x, y=toPosition.y, z=toPosition.z}
if item.actionid == 20000 then
local player = getCreaturePos(cid)
local pozdoprzejscia = { x=pos.x, y=pos.y+1, z=pos.z}
local pozdowyjscia = { x=pos.x, y=pos.y-1...