Not working, Why?
function onUse(cid, item, frompos, item2, topos)
endgatepos = {x=234, y=377, z=8, stackpos=1}
getgate = getThingfromPos(gatepos)
if item.uid == 1016 and item.itemid == 1945 and getgate.itemid == 1355 then
doRemoveItem(getgate.uid,1)...