rep-chopshop

DEPENDENCIES:

Framework: qb-core or esx or qbx_core

Target: ox_target or qb-target

Rep-Tablet: rep-tablet

Rep-TalkToNPC: rep-talkNPC (optional)

Pengu_Digiscanner: pengu_digiscanner

INSTALLATION:

Buy a release HERE.

Add Items:

ox_inventory:

  1. Copy the image files from the img folder to your inventory folder.

  2. Add the following codes to your ox-inventory/data/items.lua file under the Items section:

["car_door"] = {
    label = "Car Door",
    weight = 7500,
    description = "",
},
["car_trunk"] = {
    label = "Car Trunk",
    weight = 7500,
    description = "",
},
["car_wheel"] = {
    label = "Car Wheel",
    weight = 5000,
    description = "",
},

qb-core:

  1. Copy the image files from the img folder to your inventory folder.

  2. Go to qb-core/shared/items.lua

car_door 			 	 	 = {name = 'car_door', 				label = 'Car Door', 				weight = 7500, 		type = 'item', 		image = 'car_door.png', 			unique = false, 	useable = false, 	shouldClose = true,   combinable = nil,   description = ''},
car_trunk 					 = {name = "car_trunk", 			 	label = "Car Trunk", 		        weight = 7500, 		type = "item", 		image = "car_trunk.png", 				unique = true, 		useable = false, 	shouldClose = false,   combinable = nil,   description = ""},
car_wheel 					 = {name = "car_wheel", 			 	label = "Car Wheel", 		        weight = 5000, 		type = "item", 		image = "car_wheel.png", 				unique = false, 		useable = false, 	shouldClose = false,   combinable = nil,   description = ""},

esx:

  1. Copy the image files from the img folder to your inventory folder.

  2. Insert sql items:

INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
        ('car_door', 'Car Door', 8, 0, 1),
        ('car_trunk', 'Car Trunk', 8, 0, 1),
        ('car_wheel', 'Car Wheel', 5, 0, 1),

Carry:

Add this inside local props = {}

["car_trunk"] =  { carry = true, model = "imp_prop_impexp_trunk_03a", bone = 24817, x = -0.21, y = 0.58, z = 0.0, xr = 79.36, yr = 2.3, zr = -0.3, blockAttack = true, blockCar = true, blockRun = true },
["car_door"] =  { carry = true, model = "imp_prop_impexp_car_door_04a", bone = 24817, x = -0.19, y = 0.46, z = -0.61, xr = -89.7, yr = 75.0, zr = 0.0, blockAttack = true, blockCar = true, blockRun = true },
["car_wheel"] =  { carry = true, model = "prop_wheel_02", bone = 24817, x = -0.15, y = 0.4, z = 0.02, xr = -185.0, yr = 0.0, zr = 0.0, blockAttack = true, blockCar = true, blockRun = true },

Add the following codes to your data/carry.lua:

car_trunk = {
    model = `imp_prop_impexp_trunk_03a`,
    pos = vec3(-0.21, 0.58, 0.0),
    rot = vec3(79.36, 2.3, -0.3),
    bone = 24817,
    dict = 'anim@heists@box_carry@',
    anim = 'idle',
    disableKeys = {
        disableSprint = true,
        disableJump = true,
        disableAttack = true,
        disableVehicle = true
    }
},
car_door = {
    model = `imp_prop_impexp_car_door_04a`,
    pos = vec3(-0.19, 0.46, -0.61),
    rot = vec3(-89.7, 75.0, 0.0),
    bone = 24817,
    dict = 'anim@heists@box_carry@',
    anim = 'idle',
    disableKeys = {
        disableSprint = true,
        disableJump = true,
        disableAttack = true,
        disableVehicle = true
    }
},
car_wheel = {
    model = `prop_wheel_02`,
    pos = vec3(-0.15, 0.4, 0.02),
    rot = vec3(-185.0, 0.0, 0.0),
    bone = 24817,
    dict = 'anim@heists@box_carry@',
    anim = 'idle',
    disableKeys = {
        disableSprint = true,
        disableJump = true,
        disableAttack = true,
        disableVehicle = true
    }
},

Last updated