BBV X WORLD | CHOPSHOP

Chop Shop installation

qb_inventory Items.

scrap_tire                     = { name = 'scrap_tire', label = 'Tire', weight = 100, type = 'item', image = 'scrap_tire.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Just a tire' },
scrap_door                     = { name = 'scrap_door', label = 'Door', weight = 100, type = 'item', image = 'scrap_door.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Just a door' },
scrap_hood                     = { name = 'scrap_hood', label = 'Hood', weight = 100, type = 'item', image = 'scrap_hood.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Just a hood' },
scrap_trunk                    = { name = 'scrap_trunk', label = 'trunk', weight = 100, type = 'item', image = 'scrap_trunk.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Just a trunk' },

ox_inventory Items.

["scrap_tire"] = {
    label = "Tire",
    weight = 500,
    stack = false,
    close = true,
    description = "Just a tire",
    client = {
        image = "scrap_tire.png",
    }
},

["scrap_door"] = {
    label = "Door",
    weight = 500,
    stack = false,
    close = true,
    description = "Just a door",
    client = {
        image = "scrap_door.png",
    }
},

["scrap_hood"] = {
    label = "Hood",
    weight = 500,
    stack = false,
    close = true,
    description = "Just a hood",
    client = {
        image = "scrap_hood.png",
    }
},

["scrap_trunk"] = {
    label = "Trunk",
    weight = 500,
    stack = false,
    close = true,
    description = "Just a trunk",
    client = {
        image = "scrap_trunk.png",
    }
},

Scanner Setup

if you use qb-inventory and don't have weapon_digiscanner as item then.

add this to qb-core shared items.lua

weapon_digiscanner             = { name = 'weapon_digiscanner', label = 'Scanner', weight = 1000, type = 'weapon', ammotype = nil, image = 'weapon_digiscanner', unique = true, useable = true, description = 'Vehicle Scanner' }, 

add this to qb-core shared weapons.lua

[`weapon_digiscanner`]                  = { name = 'weapon_digiscanner', label = 'Scanner', weapontype = 'Miscellaneous', ammotype = nil, damagereason = 'Scanner' },

if you use ox_inventory and don't have weapon_digiscanner as item add this to ox_inventory/data/weapons.lua

		['WEAPON_DIGISCANNER'] = {
			label = 'Scanner',
			weight = 1500,
			durability = 1,
			ammoname = '',
		},

Last updated