Item integration

rcore_tuning

Item Integrations

QBCore Installation Guide:

  1. Head to qb-core/shared/items.lua

  2. Add this code snippet between QBShared.Items = { (found at the top of the file) and } (found at the bottom of the file): \

 ['tuning_component']                        = {['name'] = 'tuning_component',                          ['label'] = 'Tuning component',           ['weight'] = 100,          ['type'] = 'item',         ['image'] = 'item_component.png',                ['unique'] = false,          ['useable'] = false,      ['shouldClose'] = true,      ['combinable'] = nil,   ['description'] = 'Tuning component'},
  1. Go to your respective inventory's image stash and add the tuning_component image (Image provided when rcore_tuning is downloaded from keymaster)

  2. You're all set!

ESX Installation Guide:

  1. Run this SQL query:

INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('tuning_component', 'Tuning component', 1, 0, 1);
  1. You're all set!

Ox Inventory Installation Guide:

  1. Head to ox_inventory/data/items.lua

  2. Add this code snippet between return { (found at the top of the file) and } (found at the bottom of the file):

['tuning_component'] = {
    label = 'Tuning component',
    weight = 100,
},
  1. Go to your ox_inventory/web/images and add the tuning_component image ensuring that the name is in uppercase (Image provided when rcore_tuning is downloaded from keymaster)

  2. You're all set!

Last updated