[RELEASE] [ESX] Lenzh_Chopshop v2!

Wondering if anyone knows why when I go to the chop shop with a vehicle it just says come back later?

Wait 10 minutes before trying to chop

It’s been on my server for an hour or two now and still says the same thing? I haven’t chopped any vehicles yet at all

@Lenzh_FX It’s like it constantly says come back at another time but once in a while lets you chop, it’s not 10 minute intervals either. Also, get no parts no matter how long you stay in circle. Plz help

Update every thing like es extended cuz its tested on multiple servers

@Lenzh_FX

Hi man, is there a way you can tell the script to check if the vehicle has 2 or 4 doors?

I mean if I’m using an Adder (2 doors car) I shouldn’t have to wait for the rear doors to open and break.

Thanks.

New Update out

Added Minimum req cops

1 Like

@Lenzh_FX Hello, i set Config.CopsRequired to 0, and i going chop vehicle, and returned message for not enough police for run chop. what bad?

hi just tested it again on my server but i dont seem to have a problem at all… do you have all scripts updated?

@Lenzh_FX Ohh, Working fine, i forgot to check mysql-async. I now see 3 days ago updated. Sorry! And very good job! You can add red circle from outlawalert?

Its there.

Your cicle is empty, only circle line, and outlawalert fulled circle asd

Feel free to edit it to your liking

Oh okey, thanks!

With the beta client cool down version, can the player just re log to avoid the cool down? Thanks

Error running call reference function for resource Lenzh_chopshop: citizen:/scripting/lua/scheduler.lua:405: @Lenzh_chopshop/server/main.lua:12: attempt to index a nil value (local 'xPlayer')
stack traceback:
	@Lenzh_chopshop/server/main.lua:12: in upvalue 'ref'
	citizen:/scripting/lua/scheduler.lua:391: in function <citizen:/scripting/lua/scheduler.lua:390>
	[C]: in function 'xpcall'
	citizen:/scripting/lua/scheduler.lua:390: in function <citizen:/scripting/lua/scheduler.lua:389>
stack traceback:
	[C]: in function 'error'
	citizen:/scripting/lua/scheduler.lua:405: in function <citizen:/scripting/lua/scheduler.lua:374>
Error running system event handling function for resource es_extended: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
stack traceback:
	[C]: in function 'error'
	citizen:/scripting/lua/MessagePack.lua:830: in method 'underflow'
	citizen:/scripting/lua/MessagePack.lua:465: in field 'any'
	citizen:/scripting/lua/MessagePack.lua:860: in field 'unpack'
	citizen:/scripting/lua/scheduler.lua:628: in field '?'
	@es_extended/server/functions.lua:33: in field 'TriggerServerCallback'
	@es_extended/server/common.lua:88: in upvalue 'handler'
	citizen:/scripting/lua/scheduler.lua:219: in function <citizen:/scripting/lua/scheduler.lua:218>
stack traceback:
	[C]: in function 'error'
	citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
	citizen:/scripting/lua/scheduler.lua:218: in function <citizen:/scripting/lua/scheduler.lua:182>

Ever since the cooldown timer was added ive been getting this error when someone chops cars can anyone explain how to fix this , i know its calling the job name via local playerjob = xPlayer.job.name but everyone has a job value so im stumped?

@ioClearly it’s my problem too, i can’t solve it

Its not the cooldown timer its the required cop check. I dont have the problem but i can look what i can do for you

is it just me or anyone else got issue when chopping a car into parts, even after its finished none of the parts are in the inventory? it doesnt give any parts

Made a poll check topic