Olá, coloca isso na sua lib 050-function.
function getContainerItemsInfo(ContainerUID)
local Table = {}
if ContainerUID and ContainerUID > 0 then
local Index = 0
for i = 0, getContainerSize(ContainerUID) - 1 do
local Item = getContainerItem(ContainerUID,i)
Index = Index + 1
Table[Index] = {uid = Item.uid, itemid = Item.itemid, quant = Item.type}
end
return Table
end
return false
end