Hi im having issues with all my doors that are like this:
function onUse(cid, item, fromPosition, itemEx, toPosition)
for i = 10001, 10008 do
if getPlayerStorageValue(cid, i) > 0 then
return doTransformItem(item.uid, item.itemid + 1) and doTeleportThing(cid, toPosition...