[QB/ESX/QBX] Chopshop (Remove Parts)

:star: Description

Another way of chopshop script that allows you to remove parts from any vehicle you choose.

:bulb: Features

  • Menu with options to remove
    • All doors, wheels, tyres, windows, xeons, neons and engine
    • If you remove engine then vehicle will be simply undriveable
  • Configurable locations for scrapping vehicles
    • With option to remove owned vehicles from db if they got scrapped
    • Whitelist for plates
  • Restrictions for jobs or just make it for everyone
  • Blips for locations
  • Receive items for every component you remove or get reward for scrapping whole vehicle
  • You can set required item for removing parts
  • Police Alert (configurable)
    • support for cd_dispatch and ps-dispatch
  • Two menu variations
    • MenuV and OX
  • Support for all vehicles and motorcycles
  • All events are protected
  • Support for:
    • QB, QBX and ESX framework
    • QB, ESX, OX and QS inventories
    • oxmysql

:computer: Updates

Click

Update 1.1

  • Added whitelist for plates that cannot be removed (you can check whole plate or just word)
  • Added option for getting rewards after scrapping vehicle, support for any item or for regular cash.
  • Added police alert (with option to turn it off or add your custom code)

Update 2.0

  • Complete rework, optimalisation and structure
  • Support for QB, ESX and QBX framework
    • Added framework files that, are completely opened. So you can adjust script to any framework
  • Support for ps-dispatch and cd_dispatch
    • Code for custom alert was moved into client_editable.lua
  • Added support for QB, OX, ESX and native notification styles
  • Added support for QB and OX progressbar
  • Added second style of menu
    • OX and MenuV
  • Changed logic for giving rewards
  • Added binding system
  • Added more configuration options
  • And other things i forgot

:cactus: Showcase

:open_book: NOTES

  • Could be used for great RP with mechanics, for example someone can steal owned vehicle and sell it to mechanic so he can remove all parts and get items to craft something. Then he can deliver the vehicle to the scrapyard and remove it forever.
  • Let me know if you missing any features.
  • You are not able to remove parts while any player is in the vehicle, anyways it works with NPCs, i’m planning to make it possible with players

:moneybag: Where to purchase: Tebex

Code is accessible No (only configuration and framework files)
Subscription-based No
Lines (approximately) 1350 ±
Requirements qb/esx, ox_lib, menuv for different menu
Support Yes

:heart: OTHER RELEASES :heart:
Advanced Yoga (+ Meditation)
Heists Creator (+12 Missions)
Storages
K9 (Police Dog)
AI Buddy (Police Buddy)
Player Carjacking / Pull Driver Out
Cemetery
Chopshop V1
Fights
Job Center
Elevator
Guidebook
Job Creator
Christmas Gifts

Update 1.1

  • Added whitelist for plates that cannot be removed (you can check whole plate or just word)

im looking for a chopchop script that:

  • can scrap players vehicle
  • the player vehicle that got scrapped is sent to the impound with an X value to be taken off
  • the possibility to give black money (qbcore) to the player that scrapped the vehicle

is this things possible with your script ?

  • You can scrap any vehicles, it has option to remove owned vehicle from database after scrap so they will lose them forever
  • Well if you using QBCore then if you disable removing vehicles from database then after scrapping it will send the vehicle automaticlly to impound/depot where you can get it for some cost…
  • It’s not giving money after scrapping but i got no problem to add it.

@cccarv

//edit

Added option for getting rewards after scrapping vehicle, support for any item or for regular cash.

@sheen thanks for your answers… a few more questions and sorry if im asking too much

1- can i disable the possibility to scrap not owned vehicles ? i mean, i just want to accept scrap players owned vehicles

2- about the automatically send vehicle to impound/depot, specifically about the cost… do you its possible to configure the cost to get the vehicle out of the depot ? just to add some info, i’m using cd_garage to manage my garages and impound feature

3- about the rewards, on qbcore the “dirt money” is an item with value, for example, lets say i rob an atm, i will get dirt money as reward where i get 1 item (called dirt money for example) and this item has lets say an value of 15000. so i have 15000 dirt money (1 item, not 15000 items), in your last update did you supported this ? I’m asking this because in “Markhor ATM Robbery” we had this problem where the “dirt money” item was not correctly configured so he fixed his script to give this item with value and now its perfect

i believe thats the last questions that i have and if i can get these functionalities i will get your script today

if you want i can join your discord so we can talk better about these questions

@cccarv

  • Right now it works with every vehicle
  • I have no idea how it works with cd_garage, what i know is that if you use qb-garages then if your vehicle disappear somehow it will send it to impound…
  • Good catch, totally forgot about that, it will be fixed soon.

Can you DM me your discord tag?

done!

@sheen I have a question… Our server will likely implement a “persistent-vehicle” system. This poses a problem: Trolls could target premium vehicles and scrap them and delete them from owners’ garages.

Would you be able to expose a couple things?

  1. The scrapping event to code a check vehicle data?
  2. The SQL query for SELECT data?

I would like to set it up in a way where when a vehicle is being scrapped that is owned, it verifies if you are either A. the owner of the vehicle and you have permission to do this if there is a match and/or B. is the vehicle stolen via vin scratching code?

If you are either the owner of the vehicle or the vehicle was obtained for ownership illegally through a criminal mission, only then could it be scrapped.

Is this something you would entertain?

Update 2.0

  • Complete rework, optimalisation and structure
  • Support for QB, ESX and QBX framework
    • Added framework files that, are completely opened. So you can adjust script to any framework
  • Support for ps-dispatch and cd_dispatch
    • Code for custom alert was moved into client_editable.lua
  • Added support for QB, OX, ESX and native notification styles
  • Added support for QB and OX progressbar
  • Added second style of menu
    • OX and MenuV
  • Changed logic for giving rewards
  • Added binding system
  • Added more configuration options