Installation
Dependencies
QBCore Framework Optional: ps-dispatch - (https://github.com/Project-Sloth/ps-dispatch)
ESX Framework Optional: ps-dispatch (ESX) - (https://github.com/adis05/ps-dispatch-esx)
How to install
Drag the script in your folder
1. Run the SQL theft_chopshop.sql
2. Add the following items to > yourinventory/data/items.lua
QBCore users to
qbcore/shared/items.luaAdd the images to
yourinventory/html/images
-- Chop Shop
['fakeplate'] = {['name'] = 'fakeplate', ['label'] = 'Fake Plate', ['weight'] = 150, ['type'] = 'item', ['image'] = 'fakeplate.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['airbag'] = {['name'] = 'airbag', ['label'] = 'AirBag', ['weight'] = 250, ['type'] = 'item', ['image'] = 'airbag.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['lowradio'] = {['name'] = 'lowradio', ['label'] = 'Low Quality Radio', ['weight'] = 350, ['type'] = 'item', ['image'] = 'lowradio.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['stockrim'] = {['name'] = 'stockrim', ['label'] = 'Low Quality Wheel', ['weight'] = 150, ['type'] = 'item', ['image'] = 'stockrim.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['highradio'] = {['name'] = 'highradio', ['label'] = 'High Quality Radio', ['weight'] = 250, ['type'] = 'item', ['image'] = 'highradio.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['highrim'] = {['name'] = 'highrim', ['label'] = 'High Quality Wheel', ['weight'] = 350, ['type'] = 'item', ['image'] = 'highrim.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['doors'] = {['name'] = 'doors', ['label'] = 'Doors', ['weight'] = 150, ['type'] = 'item', ['image'] = 'doors.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['speaker'] = {['name'] = 'speaker', ['label'] = 'Speaker', ['weight'] = 250, ['type'] = 'item', ['image'] = 'speaker.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['screwdriver'] = {['name'] = 'screwdriver', ['label'] = 'Screwdriver', ['weight'] = 250, ['type'] = 'item', ['image'] = 'screwdriver.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['battery'] = {['name'] = 'battery', ['label'] = 'Battery', ['weight'] = 250, ['type'] = 'item', ['image'] = 'battery.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['belt'] = {['name'] = 'screwdriver', ['label'] = 'Belt', ['weight'] = 250, ['type'] = 'item', ['image'] = 'belt.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['lockpick'] = {['name'] = 'lockpick', ['label'] = 'Lockpick', ['weight'] = 250, ['type'] = 'item', ['image'] = 'lockpick.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},-- Chop Shop (ESX)
['fakeplate'] = {
label = 'Fake Plate',
weight = 200,
client = {
image = 'fakeplate.png',
},
},
['airbag'] = {
label = 'Air Bag',
weight = 10,
client = {
image = 'airbag.png',
},
},
['lowradio'] = {
label = 'Low Radio',
weight = 30,
client = {
image = 'lowradio.png',
},
},
['stockrim'] = {
label = 'Stock Rim',
weight = 10,
client = {
image = 'stockrim.png',
},
},
['highradio'] = {
label = 'High Quality Radio',
weight = 20,
client = {
image = 'highradio.png',
},
},
['highrim'] = {
label = 'High Rim',
weight = 100,
client = {
image = 'highrim.png',
},
},
['doors'] = {
label = 'Vehicle Door',
weight = 200,
client = {
image = 'doors.png',
},
},
['speaker'] = {
label = 'Speaker',
weight = 10,
client = {
image = 'speaker.png',
},
},
['screwdriver'] = {
label = 'Screw Driver',
weight = 30,
client = {
image = 'screwdriver.png',
},
},
['battery'] = {
label = 'Battery',
weight = 10,
client = {
image = 'battery.png',
},
},
['belt'] = {
label = 'Belt',
weight = 20,
client = {
image = 'belt.png',
},
},
['lockpick'] = {
label = 'Lockpick',
weight = 100,
client = {
image = 'lockpick.png',
},
},Dispatch (Optional)
You can plug in any dispatch script you like - the choice is completely up to you.
Configure it easily via config.lua
QBCore
This is just an example configuration showing how to hook ps-dispatch into the Chop Shop script.
ps-dispatch/client/alerts
ps-dispatch/shared/config.lua
ESX
ps-dispatch/client/cl_extraalerts
ps-dispatch/server/sv_dispatchcodes
Last updated