Can’t take anything more from the warehouse. Storage works. Does anyone know what I have to change in the file?
[image]
Can’t take anything more from the warehouse. Storage works. Does anyone know what I have to change in the file?
[image]
So the issue here is that your item does not seem to have an label field.
Storing works because this field is never used never, I guess.
I would recommend you insert
print(ESX.DumpTable(items[i])) right after the for loop. (first line after do, line 1331).
Then restart this script and try again, this time open up F8 again and look at the output. you will see all the items and their field and eventually find the one that is missing the label.
Then its time to either change the code here to access to right field or fix the broken item.
Thank you for your prompt reply. It should actually work even if I empty the whole warehouse, right (in the database)? Storage works
When you empty out the warehouse then there are no more items inside and the menu will work. But when you put something in again it may break. Because the items itself are, maybe, broken. Or at least changed. So check in your DB the items table and look for an item that do not have an label set. (Label row null)
now its work.
Thx 4 help