function onUse(cid, item, fromPosition, itemEx, toPosition)
local positions = {
{x = 100, y = 200, z = 7},
{x = 100, y = 200, z = 7}
}
for _, pos in ipairs(positions) do
local item = getTileItemById(pos, 1000).uid
if item > 0 then
doRemoveItem(item)
else
doCreateItem(1000, 1, pos)
end
end
return doTransformItem(item.uid, item.itemid == 1945 and 1946 or 1945)
end