Item setup
Required item: customizableplate (must match Config.PlateItemName).
Copy customizableplate.png from [INSTALL]/itemimages/ into:
| Inventory | Image folder |
|---|---|
| ox_inventory | ox_inventory/web/images/ |
| qb-inventory / ps-inventory | html/images/ |
| one_inventory | one_inventory/web/images/ |
OX is ox_inventory (ESX and Qbox that run ox use this tab). QB is qb-core/shared/items.lua. one_inventory only needs the PNG in that folder.
⚠️
Do not add server.export on the ox_inventory item. Use is registered with bridge.framework.registerItemUse. Omit consume on the item def.
Add to ox_inventory/data/items.lua:
['customizableplate'] = {
label = 'Custom Plate',
weight = 200,
stack = false,
close = true,
description = 'Apply a custom plate to a vehicle you own.',
},