local pos = {
{x = 1040, y = 987, z = 8},
{x = 1040, y = 989, z = 8}
}
local newpos = {
{x = 1041, y = 988, z = 9},
{x = 1052, y = 988, z = 9}
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
for i = 1, #pos do
if(getTopCreature(pos[i]).uid > 0) then...