[FREE][ESX/QB] Advanced garage V2 | (Optimized, highly configurable)

I mean that the option of making the garages separate would be nice. For exp: in one garage there are these cars and in another there are other cars, not like now where every garage has the same cars.

COULD you please make a video on how to do all steps and writing codes for qb-core server. i think i have some issues with installing.

Go through the installation file for QBCore.

Just go through the file and import the things to your database correctly. You can open an issue on github and provide more details if it doesn’t work for you.

Then I would recommend learning the basics of development before creating your own server.

I cant remove cars from impound ( ESX)
this script say “Notn enough money”

if i remember u need the money in ur inv

It seems to have a bug with the LegacyFuel export.

When i take a car out of a garage, the fuel % is set randomly between 20% and 80% instead of the fuel % indicated in the garage.

I tried your script, because i had the same issue with qb-garage. So i guess the bug doesn’t come from your code, but is LegacyFuel related, but yea, it’s broken :cry:

It’s weird, because the % is good when the vehicle is stored, it keeps the good number. But as soon as i get my car out, random fuel % appears.

If you have any idea where this come from, i’ve looked at a solution both in qb-garages and Legacyfuel, then just gave up, cuz im not very good at coding. I only noted the 20%-80% thing in LegacyFuel exports.

After resetting your server you cant get your car out of the garage anymore… not showing any errors…

how did you fix this?

Please open an issue on github.

so i have a problem where owned vehicles in data base after putting this script it dont show up in the garage

I’m getting an error in impound, SCRIPT ERROR: @lunar_garage-main/framework/esx/server.lua:52: attempt to index a nil value

How is that related to the garage script?

I was mistaken, I thought master keys from garage :grinning:

Tell me, is esx_vehicleshop required for the script to work or will another one be suitable?
And how will the shutdown esx_vehicleshop affect garages?

esx_vehicleshop should work out of the box.
Other vehicleshops may require you to change some of the code.

hey man is there a way to disable the interriors ? if theres not can u add the option?

You can set the Interior field to nil on each garage.

Looks really good , anyone who uses this qbox