[Free][ESX] Garages & Impounds

Hello, can you please help me? Look, I made a new garage getting the coords from my ped and making a PolyZone with pzcreate box. The ped is inside de green box but won’t spawn. Any suggestions? I’m using trying this on a custom map. Thanks!


Config.Garages = {
    {
        label = 'Garagem',
        type = 'car', -- car, boat or aircraft
        pedCoords = vector4(1324.576, 2326.098, 16.7699, 89.5758), -- The Ped MUST be inside the PolyZone
        debugPoly= true,
        zone = {name = 'garage1', x = 1324.27, y = 2326.83, z = 16.77, l = 52.4, w = 39.6, h = 329, minZ = 10.811351776123, maxZ = 10.8113560676575},
        spawns = {
            vector4(-199.9933, 252.6822, 4.788567, 195.8381),
            vector4(-204.122, 251.5918, 4.788568, 208.5105),
            vector4(-207.4069, 249.2067, 4.788569, 211.3852),
            vector4(-211.1772, 247.0163, 4.78857, 209.9125),
            vector4(-214.8558, 244.7568, 4.788569, 210.0449),
            vector4(-218.6199, 242.5762, 4.788565, 208.6417),
            vector4(-222.3569, 240.438, 4.788565, 210.142),
            vector4(-225.8982, 238.5369, 4.788556, 213.8847),
        }
    },

same issue problem …vehicle already out … try go ped impound no have vehicle impound. just say [no vehicles in impound]

Im using legacy and Everytime I park my car in a garage the car goes to impound and dont get parked in the garage


qtarget cannot recognize ped

It turned out that my configuration was wrong, and now it’s perfect

The vehicles go to the impound instead of being stored in the garage

did you figure this out?

Dude, this question baffles me ::
Help me see




You don’t have ESX Legacy

can anyone help me, when i try to damage the vehicle and put it in the garage why when i get out of the garage the garage returns to normal? does anyone know how to save the damage?

Boats and vehicles can be retrieved from the garage, but aircraft cannot be retrieved from the hangar


When take helicopter from garage, does not have a top, how to fix this?

When change vehicles plate number in database, u can’t take out vehicle.

make for qb

use ESX.Game.SetVehicleProperties and ESX.Game.GetVehicleProperties instead of oxlibs

Thanks i try it, maybe u know why if i change car plate in database, i can’t take out car from garage?

How do I make sure that the vehicles are locked when I take the vehicle out of the garage?

I don’t understand what you meant by that… I guess try opening the door? :sweat_smile:


the target didn’t work on impound but in all garages it work i try to use qtarget and ox_target it same result

Error loading script server/server.lua in resource luke_garages: @luke_garages/server/server.lua:8: attempt to index a nil value (global ‘MySQL’)