QBCore Installation
QB Framework Installation documentation
IMPORTANT NOTE: This script will not work old qb-core for now
- qb-core
- qb-menu
- oxmysql
You need add several crafting items to qb-core
Go to qb-core script inside, open qb-core/shared/items.lua and crafting items line on bottom
IMPORTANT: Please do not change the item names, it's not supported now
['toolkit'] = {
['name'] = 'toolkit',
['label'] = 'Toolkit',
['weight'] = 100,
['type'] = 'item',
['image'] = 'toolkit.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = false,
['combinable'] = nil,
['description'] = 'It is used to produce some things.'
},
['door'] = {
['name'] = 'door',
['label'] = 'Car Doors',
['weight'] = 100,
['type'] = 'item',
['image'] = 'door.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = false,
['combinable'] = nil,
['description'] = 'Vehicle door can be used in vehicle crafting.'
},
['car_battery'] = {
['name'] = 'car_battery',
['label'] = 'Car Battery',
['weight'] = 100,
['type'] = 'item',
['image'] = 'car_battery.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = false,
['combinable'] = nil,
['description'] = 'Vehicle battery can be used in vehicle crafting.'
},
['sparkplug'] = {
['name'] = 'sparkplug',
['label'] = 'Car Sparkplug',
['weight'] = 100,
['type'] = 'item',
['image'] = 'sparkplug.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = false,
['combinable'] = nil,
['description'] = 'Vehicle sparkplug can be used in vehicle crafting.'
},
['wheel'] = {
['name'] = 'wheel',
['label'] = 'Car Wheel',
['weight'] = 100,
['type'] = 'item',
['image'] = 'wheel.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = false,
['combinable'] = nil,
['description'] = 'Vehicle wheel can be used in vehicle crafting.'
},
['car_glass'] = {
['name'] = 'car_glass',
['label'] = 'Car Glass',
['weight'] = 100,
['type'] = 'item',
['image'] = 'car_glass.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = false,
['combinable'] = nil,
['description'] = 'Vehicle glass can be used in vehicle crafting.'
},
['car_blueprint'] = {
['name'] = 'car_blueprint',
['label'] = 'Car Blueprint',
['weight'] = 100,
['type'] = 'item',
['image'] = 'car_blueprint.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = false,
['combinable'] = nil,
['description'] = 'Vehicle blueprint can be used in vehicle crafting.'
},
Crafting items list inside q-carcrafting/items.txt

Sample Photo
you need to add these images to your inventory script.
Go to your inventory script images section
if you are using qb-inventory, go to qb-inventory/html/images directory and paste all images
( Image files is included on q-carcrafting/items_photo directory )

Go to qb-menu/html/style.css and remove marked code line
( Needed for remove underline text visuals )
You can create zone easily with config file

Red Plane : crafting cars spawning with PolyZone function if you are enter this red plane.
Orange Box : it's defining height of the red plane.
Green Zone : it's defining craftable car positions, must be in the red plane, can be multiple.
Blue Zone : it's defining crafted car spawn location.
You are ready to use car crafting!
Last modified 8mo ago
.png?alt=media&token=0ddd30b8-c6de-4c88-bd61-be4301310aae)
