table.insert(t,1,{using,igz.uid}) end end if #t == sizex then setPlayerStorageValue(cid,21451, getPlayerStorageValue(cid, 21451)+1) for i=1,#t do local f = t[i] doRemoveItem(f[2],1) if config.effects.burn then doSendMagicEffect(f[1],config.effects.burn) end end pushdown(config.uppos,{x=config.dowpos.x,y=pos.y,z =config.dowpos.z},item) checkline(pos,cid,item) endendfunction doSendMagicEffectInArea(pos,effect,area,cid) -- Function by mock local centro = {} centro.y = math.floor(table.getn(area)/2)+1 for y = 1, table.getn(area) do for x = 1, table.getn(area[y]) do if area[y][x] > 0 then centro.x = math.floor(table.getn(area[y])/2)+1 if type(effect) == 'table' then doSendMagicEffect({x=pos.x+x-centro.x,y=pos.y+y-centro.y,z= pos.z},(effect[area[y][x]] or 0),cid) else doSendMagicEffect({x=pos.x+x-centro.x,y=pos.y+y-centro.y,z= pos.z},effect or 0,cid) end end end end return trueend