Item setup

Items for CustomPlates. Required item: customizableplate (must match Config.PlateItemName).

Required item: customizableplate (must match Config.PlateItemName).

Copy customizableplate.png from [INSTALL]/itemimages/ into:

InventoryImage folder
ox_inventoryox_inventory/web/images/
qb-inventory / ps-inventoryhtml/images/
one_inventoryone_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.

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.',
},

Add to your QBCore shared items (qb-core/shared/items.lua):

['customizableplate'] = { name = 'customizableplate', label = 'Custom Plate', weight = 200, type = 'item', image = 'customizableplate.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Apply a custom plate to a vehicle you own.' },