I need help with an Error in esx_lscustom


Can someone help me with this error from esx_lscustom
I got this error in a car when I try to Tune and there is only one level of each upgrade and there a nothing other tuning options.

Sorry for my bad English

1 Like

Hello,
Did you changed anything? Like the Price?

No, I didn’t change anything on the price.
I use it normal without changed anything.

Hey :slightly_smiling_face: !
Based on what @IL-Boomatisch was saying, still worth a shot to verify the price in the config file, check if you have the same as the following in you config :


If your config doesn’t present any errors, It could help to do some print testing and see exactly what is valued as nil and why. To do so you can add the following lines to the client scipt (starting at line 82):

Then you go back to lsCustom and do the same action that made the error appear in the first place, you’ll then see the values displayed in the F8 console, send a screenshot of the output then :wink:

I agree with you.

The Price should NEVER be 0!

Sorry for this late answer,
the config doesn’t have any error and this was printed in the F8 console.
a8d57522059a7bea8653c2b1928201bf

Hi, when you did the test to take the screenshot, you got the same error as before juste after the output that we see here ?

Yea, and how can i fix it or is it impossible to fix this error?

We are moving forward :wink: you should be able to fix it don’t worry.
Can you add the two following ‘print’ lines and do the exact same test please ?

So I did it and this came out
d61b7cb462ea6687e4230628c71efc0b

Can you send those lines + the error line in the screenshot ?

you mean this?

No I mean in the console ^^ , I want to see the whole console (print lines output + error output)

I’m confused the error isn’t here anymore as we can see from the screenshot :confused:

Yeah, this confused me too.
I didn’t get the error message after I added the prints

And so, you can buy mods for your vehicles without issues now ?