[Release][ESX] SB-ChopShop

Update out and github updated.

Some people are using different types of the progress bar so you might have to swap trigger

TriggerEvent(“mythic_progressbar:client:progress”, {
or
TriggerEvent(“mythic_progbar:client:progress”, {

If you still have issues after the latest version what I did was replace the following in client > functions.lua

			TriggerEvent("mythic_progbar:client:progress", {
		        name = "Chop",
		        duration = timer,
		        label = "Chopping Vehicle",
		        useWhileDead = false,
		        canCancel = true,
		        controlDisables = {
		            disableMovement = true,
		            disableCarMovement = true,
		            disableMouse = false,
		            disableCombat = true,
		        },
		    }, function(status)
		        if not status then
		            TriggerEvent('CheckDist', class)
		        end
		    end)
		end

with this:

			exports['mythic_progbar']:Progress({
				name = "Chop",
				duration = timer,
				label = "Chopping Vehicle",
				useWhileDead = false
				canCancel = true,
				controlDisables = {
					disableMovement = true,
					disableCarMovement = true,
					disableMouse = false,
					disableCombat = true,
				},
			}, function(status)
				if not status then
					TriggerEvent('CheckDist', class)
				end
			end)
		end

Everything works fine now. This works for my version so

2 Likes

Awesome work!
One question: What’s that life/vest/food/water… UI resource? That’s awesome aswell

That’s a copy of the NoPixel HUD

I’m searching for it but i can’t find anything :frowning:

That’s because it’s not a public script, people use leaked versions of it or copies of it.

Friend of mine re-created it and hasn’t released it.

Thanks for this :slight_smile:

is it okay to rename the file?

not working no error

Without random seed, the payment and reward is not actually “random”. If you get 300$ payment for this time, the next time you will still have 300$

simple fix, just use math.random on the server sided reward event, should fix it

Do cops get alerted? is this only NPC cars or player owned cars as well?

download link does not work

fixed link

Thanks

when i press E to chat a car from the list it does not work can someone help please

Wondering if anyone can help me. some reason when chopping a car. it accepts me pressing E, the progress bar comes up saying chopping car. but the car does not delete nor does it give me any items . i have imported the sql and I’m able to use the /giveitem command for the items and that works ok. this is the erro i receive

where can i find there vehicles

the script doesn’t work, I scrap the car and the car is still there and nothing goes into my inventory, half of the time the cars don’t even allow me to scrap, any fix?