[RELEASE] [ESX] Lenzh_Chopshop v2!

Yes Yes Finally its done V2 of my chopshop!!

Change Logs


New Version release V2!

removed all requirements so its just ESX.
changed a bunch:
* - Owned cars can now be chopped and removed from database (changeable in config Config.AnyoneCanChop)
* - PD will get a notification of the persons head and that he is chopping a car
* - The chop player position is visible on the map for a couple of minutes (changeable in config default == 2)
* - script is now more optimized
* - more rewards soo more moneys (all in the config)
* - u wont get a crap ton of items anymore its randomized by 3 items with the maximum of 3
* - and finally but not the last its less code ;)


Credits to BrandsPickled for helping me test

-- Version below v2 are **Not** working anymore 
v1.8
cleaner code and added a check to see if you inventory is full

v1.7.7

Added support for esx_inventoryhud follow the README.md for installation


v1.7.5
Fixed some bugs
removed global cooldown and made it client side
added Minimal req cops
Enjoy!

v1.7

Fixed Menu
Changed  Progress time loading from pNotify to ProgressBars
Changed the way  we do the loading time so notification total time is no longer needed.
Every door has now a progressbar. 
Every doortime has their own name so left door will state FrontLeftDoor  for easier editing ect...
Exiting marker will not reward you vehicle parts.  This is either by walking or driving out. 
Notification will tell you to get back in the marker. 
Notification will tell you  that you did not receive any reward if left marker and the progress bar verified if allowed to delete vehicle.
A loading bar will verify if the vehicle can be deleted or not  depending on the situation.
any door removed before you left the marker to cancel will not be replaced. 

v1.6.5

Fixed some bugs and changed Notification


V1.6

Added DoorOpenTime to config. 
Added DoorBrokenTime to config.
Added NotificationTotalTime to config. This is the total from DoorOpenTime + DoorBrokenTime  so the notification stay on until done.
Renamed few thing
Added Locales FR
Added More description in Configs File.

V1.5

- PD gets notified when a player is chopping a vehicle
- Added Cooldown on chopping vehicles.
- Added NPC at shop location with config to disable it and change coordination.
- Vehicle now gets door removed after opening them. Raised time per door to 5000ms  so 5 sec. 
- Added the ability to hide blips in config.
- Reworked the way of the chopping. So removed from key control and added his own function So ChopVehicle.
- Renamed old ChopVehicle to DeleteVehicle

v1
29-4 again :smiley: 
-- https://forum.cfx.re/t/release-esx-lenzh-chopshop/458261/39?u=lenzh_fx

29-4
- Stanleys marker is now fixed thanks to @XxFri3ndlyxX 
- Added Door animations and freezes the car

Feel free to edit the resource but always give me credits

Video preview
Youtube

Download link
Github

46 Likes

Great release mate :slight_smile:

1 Like

Very nice release. Does this support Vrp :joy::joy:

1 Like

no sorry its ESX

1 Like

Just a suggestion you should perhaps make a function that if vehicle is owned it gets deleted from the db

2 Likes

never though about that one. Good one

Bit of SQL editing for you :joy:

Was working on something like that THX dude amazing job! Tell me if you want a French locale!

feel free to make a pr for it

1 Like

Its not actually doing anything when I “chop” the vehicle. It just stops working after.

did u import the SQL?

cuz i just tested it and its giving me the item

1 Like

Yes I Did.

no errors?

No errors. It appears everything is working fine until I actually try to use the script

weird

1 Like

Working great!

1 Like

@Lenzh_FX I made a pr fixing the marker and the sell menu not showing up and the radius was way too small. Works fine now.
EDIT: The npc is not included. This npc is from a private script and it is not mine so i cannot share. Sorry.

3 Likes

Hi, how did you change the menu HUD in this way? It’s cool.

Does it include npc? Or just bigger radius in the update.