we have created this script for the creation of warehouse inventory, through mf-inventory or ox_inventory, you can choose how to configure each inventory as you like, also choosing the maximum weight it can contain, all the code is easily accessible, attached the video of how works
insert code preview
wrong code preview
right code preview
Compatible with ox_inventory and mf-inventory!
RESOURCE MONITOR DATA