Page cover

QB Version

Final Version Installation documentation

Required scripts

1. Edit fxmanifest.lua

Please uncomment according to the framework you use

shared_scripts {
    'config.lua',
    "@ox_lib/init.lua",

    '@qb-core/shared/locale.lua', -- Open if you are using QB
    'locales/qb/*.lua', -- Open if you are using QB

    --'@es_extended/locale.lua', -- Open if you are using ESX
    --'locales/esx/*.lua',-- Open if you are using ESX

    'functions.lua',
}

server_scripts {
    '@oxmysql/lib/MySQL.lua',
    --'@mysql-async/lib/MySQL.lua', -- Open if you are using mysql-async    
    'server.lua'
}

2. 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

Crafting items list inside q-carcrafting/items.txt

Sample Photo

3. 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 )

4. Edit qb-menu CSS

Go to qb-menu/html/style.css and remove marked code line

( Needed for remove underline text visuals )

5. 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