Installation

Dependencies

QBCore Framework Optional: ps-dispatch - (https://github.com/Project-Sloth/ps-dispatch)


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

  • Add the images to yourinventory/html/images

If you are using a different inventory then literally create the same items for your custom inventory.

-- 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'] = ''},

Dispatch (Optional)

Configure it easily via config.lua

QBCore

ps-dispatch/client/alerts

ps-dispatch/shared/config.lua


ESX

ps-dispatch/client/cl_extraalerts

ps-dispatch/server/sv_dispatchcodes

Last updated