Renzu_customs - Unique and Advanced Mechanic Tuning | Lscustom | Lscustoms

-----------Rear bumpers----------
	[2] = {
		job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
			['mechanic'] = 0,
			['police'] = 0,-- police is sample only change this!

		},
		discount = {
			['mechanic'] = 0.2, -- 20%
			['ambulance'] = 0.1, -- 10%
			['police'] = 0.15, -- 15%
		},
		label = 'Rear bumpers',
		name = 'rearbumpers',
        index = 2,
		cost = 15000,
		percent_cost = 3,
		bone = 'bumper_r',
		camera = {val = 'back', x = 0.5, y = -1.6,z = 0.4},
        type = 'cosmetic',
        prop = 'imp_prop_impexp_rear_bumper_03a',
	},

i removed it already ( the all entry)

Congratulations on your work.
I have tried using your script, but it gives me the following error when repairing a vehicle:

Ita weird, as my all test always not showed the marker when proper config is setup.
Same with your permsall and no all jobs in mods.

Maybe this need a step by step repro.

@simuviciorp
This occur on repairing only?
I am not sure i have to test it.
But this is related to custom engine for sure

It happens to me when repairing the car. but also if I go to open a menu, it stays frozen and won’t let me move

Default config?
Your issue sounds like a old version.

About line 732 line error
Dont delete the handling.json

Open a support in github issue with screenshot of f8 and server console.

So i can mitigate your issue correctly

Edit:
It seems the vehiclehandling var is missing wth.

You could try getting new config
Or copy the new line

This probably will fixed 732 line nil error

Cant test im on phone.

image

follow the error

1 Like

How can I get it to read the rings of vehicles that you add, they do not appear??

amazing script just a question if you dont want to use your garage if we have your own can we insert a code into our script making it save the customizations?

Rings?
Or wheels?

Wheel you add should ve added automatically too

@OnTheGoNetwork
You can use custom exports to srt and get vehicle properties

Wheels lol

1 Like

could you tell me what exports i have to use if im using loaf garage?

replace any

ESX.Game.SetVehicleProperties(vehicle, props)

with

exports.renzu_customs:SetVehicleProp(vehicle, props)

Replace any

ESX.Game.GetVehicleProperties(vehicle)

with

exports.renzu_customs:GetVehicleProperties(vehicle)

@ItsDJ

1 Like

what about this one?
ESX.Game.SetVehicleProperties(vehicle, info)

its same
the params

(vehicle,props)

can be anything
depends on developers
sometimes its veh,prop, veh, data etc…

1 Like

getting this error

you passed a nil props value

its not working

do you have a dc server?

i already guide you how to pass a props using exports.
parameter name is important from your garage to exports function

so this means, you gonna fix that?

ofc, you can test that on my server too if you need it