Pfann
November 2, 2021, 12:05am
164
Renzuzu:
rear bumper
-----------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:
Renzuzu
November 2, 2021, 4:42pm
166
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
Renzuzu
November 2, 2021, 4:51pm
168
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.
DCAdmin
November 2, 2021, 10:57pm
170
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?
Renzuzu
November 3, 2021, 4:10am
172
Rings?
Or wheels?
Wheel you add should ve added automatically too
@OnTheGoNetwork
You can use custom exports to srt and get vehicle properties
could you tell me what exports i have to use if im using loaf garage?
Renzuzu
November 4, 2021, 6:12am
175
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)
Renzuzu
November 4, 2021, 9:27am
177
its same
the params
(vehicle,props)
can be anything
depends on developers
sometimes its veh,prop, veh, data etc…
1 Like
Renzuzu
November 4, 2021, 11:26am
179
you passed a nil props value
Renzuzu
November 5, 2021, 9:23am
182
i already guide you how to pass a props using exports.
parameter name is important from your garage to exports function
Pfann
November 5, 2021, 4:37pm
183
so this means, you gonna fix that?
ofc, you can test that on my server too if you need it