Items
Setup items for QBCore framework
If you are on QBCore framework and NOT using ox_inventory, add this to your qb-core > shared > items.lua:
solarpanel = { name = 'solarpanel', label = 'Solar Panel', weight = 150, type = 'item', image = 'solarpanel.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Private Solar Panel' },
remotecontrol = { name = 'remotecontrol', label = 'Remote Control', weight = 50, type = 'item', image = 'remotecontrol.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Remote Control Device For Solar Panels' },
ox_inventory
If you are using ox_inventory, add this to your ox_inventory > data > items.lua:
['solarpanel'] = {
label = 'Solar Panel',
weight = 150,
stack = false
},
['remotecontrol'] = {
label = 'Remote Control',
weight = 50,
stack = false
}
You can change item names in config.lua
Items images:


Last updated