Installation Steps:
Use the steps below to install the items and the jobs
Install required dependencies (See Dependencies or ReadMe)
Follow Installation Steps for Dependencies
QBCore Item Installation (qb-core/shared/item.lua)
-- Vin Chopping Items
['chopped_parts'] = {['name'] = 'chopped_parts', ['label'] = 'HQ Car Parts', ['weight'] = 0, ['type'] = 'item', ['image'] = 'car_parts.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Meta-gamed in minutes'},
['gnestick'] = {['name'] = 'gnestick', ['label'] = 'GNE Stick', ['weight'] = 100, ['type'] = 'item', ['image'] = 'gnestick.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Somehow more valuable than DOGE'},
['choppingtool'] = {['name'] = 'choppingtool', ['label'] = 'Welding Torch', ['weight'] = 100, ['type'] = 'item', ['image'] = 'choppingtool.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
QBCore Job Installation (qb-core/shared/job.lua)
['hoexports'] = {
label = "H&O Exports",
defaultDuty = false,
offDutyPay = false,
grades = {
['0'] = {
name = 'Asset Protection',
payment = 25
},
['1'] = {
name = 'Material Acquisition',
payment = 30,
},
['2'] = {
name = 'Coordinator',
payment = 35,
},
['3'] = {
name = 'Rental Manager',
payment = 40,
},
['4'] = {
name = 'Accountant',
payment = 45,
},
['5'] = {
name = 'Chief of Rental Operations',
payment = 50
},
['6'] = {
name = 'Ass. to Director Op.',
payment = 55,
},
['7'] = {
name = 'Director of Finances',
payment = 60,
isboss = true,
},
['8'] = {
name = 'Director of Operations',
payment = 65,
isboss = true,
},
['9'] = {
name = 'Owner',
payment = 70,
isboss = true,
}
}
}
qb-inventory Item Installation
qb-inventory UI Installation
Install this after this snippet in the .js for qb-inventory
} else if (itemData.name == "labkey") {
} else if (itemData.name == "gnestick") {
$(".item-info-title").html('<p>' + itemData.label + '</p>')
$(".item-info-description").html('<p><strong>Crypto Available: </strong><span>'+ itemData.info.amount + '</span></p>');
Ox_Inventory Item Installation
["choppingtool"] = {
label = "Welding Torch",
weight = 100,
stack = false,
close = true,
description = "",
},
["chopped_parts"] = {
label = "HQ Car Parts",
weight = 0,
stack = true,
close = true,
description = "Meta-gamed in minutes",
},
["gnestick"] = {
label = "GNE Stick",
weight = 100,
stack = false,
close = true,
description = "Somehow more valuable than DOGE",
},
qb-garages (JDev Garage) (NoPixel Car Meet)
['hoexports'] = {
['Zone'] = {
['Shape'] = {
vector2(948.86, -1773.62),
vector2(959.56, -1774.57),
vector2(960.6, -1765.83),
vector2(949.58, -1764.84),
},
['minZ'] = 20.03,
['maxZ'] = 24.03,
},
label = 'H&O Exports Parking',
type = 'job',
job = 'hoexports',
vehicleCategories = {'car', 'motorcycle', 'other', 'commercial'},
drawText = 'Parking',
debug = false,
['ParkingSpots'] = {
vector4(958.06, -1773.08, 21.03, 85.31),
vector4(951.81, -1772.53, 21.03, 86.61),
vector4(952.06, -1769.41, 21.03, 83.29),
vector4(952.55, -1766.34, 21.03, 84.98),
vector4(957.92, -1766.98, 21.03, 85.93),
vector4(958.2, -1769.91, 21.03, 84.31)
}
}
QBCore Small Resources Log (qb-smallresources/server/logs.lua)