🛠️Qubit Carcrafting
Final Version Installation documentation
IMPORTANT NOTE: This script will support all frameworks, you need download the [FINAL VERSION] on keymaster
Required scripts
oxmysql
PolyZone - Download here
xsound - Download here
ox_lib - Download Here
1. Add Items on qb-core
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

2. Add item photos
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 )

3. Edit qb-menu CSS
Go to qb-menu/html/style.css and remove marked code line
( Needed for remove underline text visuals )

4. Create Craft Zones
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.
5. Done 🎉
You are ready to use car crafting!
Last updated