Inventory migration: QB, ESX, ox
Replacing your inventory is one of the most disruptive changes you can make, because half your scripts touch items. Moving to ox_inventory is popular for good reason, but it is a migration, not a drop-in. This lesson gives you the plan, the bridge concept, the data-shape difference that actually loses items, and the test that proves you did not.
Plan the migration
Map what touches the inventory
List the resources that call inventory functions: shops, jobs, crafting, drugs, anything that grants or takes items. These are what will break, and what you must update or bridge.