Writting in quick reply window. don't mind tabbing
local Items = {
{pos = {x=1,y=1,z=1}, id = 1234},
{pos = {x=1,y=1,z=1}, id = 1234},
{pos = {x=1,y=1,z=1}, id = 1234},
{pos = {x=1,y=1,z=1}, id = 1234}
}
function onUse(cid)
local items, item = {};
for _,itemData in pairs(Items) do
item =...