Snippets
Here we will explain how you can import the item in the inventory for example.
ox_inventory
Go to ox_inventory/data/items.lua
and insert the following:
['license_plate'] = {
label = "License Plate"
},
ESX
Insert the following SQL in your database:
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('license_plate', 'License Plate', 1, 0, 1);
QBCORE
Go to [qb]/qb-core/shared/items.lua
and insert the following:
license_plate = { name = 'license_plate', label = 'License Plate', weight = 100, type = 'item', image = 'license_plate.png', unique = false, useable = true, shouldClose = true, description = 'License Plate' },
Inventory Image
You can find the inventory image in the cobra-customplate
folder, and add this to the image folder of your inventory if applicable.
Last updated