Chopping cars for car parts which can be converted into materials
Add these 4 items into your qb-core/shared/items.lua along with the photos
['door'] = {['name'] = 'door', ['label'] = 'Door', ['weight'] = 0, ['type'] = 'item', ['image'] = 'door.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['hood'] = {['name'] = 'hood', ['label'] = 'Hood', ['weight'] = 0, ['type'] = 'item', ['image'] = 'hood.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['trunk'] = {['name'] = 'trunk', ['label'] = 'Trunk', ['weight'] = 0, ['type'] = 'item', ['image'] = 'trunk.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['wheels'] = {['name'] = 'wheels', ['label'] = 'Wheels', ['weight'] = 0, ['type'] = 'item', ['image'] = 'wheels.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
Love to qb-core and qb-scrapyard thats from where i got the IsVehicleValid
function