Tienes error por que te falta una parte we
function onUse(cid, item, frompos, item2, topos)
if item.uid == 5000 then
if item.itemid == 1946 then
player1pos = {x=500, y=755, z=9, stackpos=253}
player1 = getThingfromPos(player1pos)
player2pos = {x=499, y=755, z=9...