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
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.
@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
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.
@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?
The scrapping event to code a check vehicle data?
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.