FiveM Garage Script: Dupe-Proof Garages
Public, private, job, gang and impound garages with animated interiors and anti-duplication.
$49.99 · one-time purchase · QBCore, Qbox, ESX and standalone
Requires: ox_lib, oxmysql, rd_bridge. Protected with Cfx.re Asset Escrow; config, locales and SQL stay editable.


Realistic garages for cars, boats and aircraft: animated vanilla interiors, shared vehicles, impound, job/gang fleets, in-game builder and server-side anti-duplication. QBCore · Qbox · ESX · standalone via rd_bridge.
Needs the free rd_bridge resource, which adapts it to your framework and inventory.
🚗🔒 Garages built to stop dupes.
Every car out. Every car back. Never twice. rd_garage is a complete garage system: public, private, job, gang and impound garages for cars, boats and aircraft, animated vanilla interiors, shared vehicles and an in-game builder. The server creates and deletes every vehicle and changes its state with a guarded database update.
Why you'll want it
- 🔐 Designed against duplication: taking a car out is UPDATE state = 0 WHERE state = 1 (or 2), refused if a live vehicle with that plate exists, and undone and refunded if the spawn fails.
- 🧰 Locks per character and plate: one operation at a time, a per-player rate limit, and plate, model, class, health and owner read from the server-side vehicle.
- 🏢 Interiors you walk or drive into: GTA Online vanilla (IPL) interiors with a full-screen transition, your cars in their slots, press E and drive out.
- 🤝 Sharing and impound: share a vehicle with other characters (three by default) without changing ownership, plus impound fees and /impound for authorised jobs.
- 🛠️ Build it in game: /garagebuilder saves garages to SQL and /garageexport prints a block you can paste into config.lua.
- 🌍 Fits your database: player_vehicles, owned_vehicles or its own table via Config.VehicleStorage, through rd_bridge. Needs ox_lib, oxmysql and rd_bridge.
First release (v1.0): code-reviewed and lint-checked. Report any issue and we fix it.
What you get
- The rd_garage resource (v1.0.0) for QBCore, Qbox, ESX or standalone through rd_bridge.
- Sample garages: public, boat, helipad, impound, police fleet and an interior garage (the coordinates are unverified samples; place yours with the builder).
- A catalog of vanilla interiors, a transition screen (NUI) and an editable storage adapter.
- SQL installed automatically; English and Spanish texts including the NUI.
Features
Garages
- Public, private, job, gang and impound types, for cars, boats or aircraft.
- Store and take out with distance, ownership, vehicle-kind and capacity checks; a public network option lets a vehicle come out at any public garage of its kind.
- Job and gang fleets: ownerless vehicles that come out free and are returned.
- Private garages for houses with GrantGarageAccess / RevokeGarageAccess.
Interiors
- Walk or drive into a vanilla (GTA Online IPL) interior with a full-screen transition, see your cars in their slots, walk up to one, press E and drive out.
- Each player gets a private routing bucket and population is disabled inside; /garageunstuck gets you out if you are stuck.
- Display slots are a grid around the interior centre; tune them in game.
Protection
- One operation at a time per character and per plate; per-player rate limit.
- Take out: UPDATE state = 0 WHERE state = 1 (or 2); refused if a live vehicle with that plate exists; undone and refunded if the spawn fails.
- Store: plate, model, class, health and owner are read from the server-side vehicle; the client can only send mods and cosmetics, with a size cap and forbidden keys.
- Database audit and optional Discord log.
Impound and sharing
- Impound fee per vehicle, /impound for authorised jobs, recovery of "lost" vehicles after a restart and an abandoned-vehicle sweep.
- Owners share vehicles with other characters (three by default) (take out and store) without changing ownership; shares stop counting if the owner changes.
Builder and info
- /garagebuilder (admins) creates garages and saves them to SQL; /garageexport prints a block you can paste into config.lua.
- Info cards per garage and, with Config.UseHolograms and rd_holo (sold separately), stat holograms over each car in the interior.
How it works
At a garage marker or target the player stores the car they drive, or opens a menu to take one out. The server locks the character and the plate, flips the state, spawns the vehicle with CreateVehicleServerSetter, applies the saved properties, restores fuel and hands over keys through rd_bridge. In interior mode a transition screen covers loading and the cars appear in their slots.
Requirements
- ox_lib, oxmysql and rd_bridge (rd_bridge must start first; it needs the version with Info and Holo support).
- Optional: ox_target or qb-target; a key script and a fuel script supported by rd_bridge.
- Optional: rd_holo for floating holograms, sold separately.
- No items. It does not alter player_vehicles or owned_vehicles.
Install in 5 steps
- 1. Copy rd_garage into resources/ and make sure rd_bridge, ox_lib and oxmysql start first.
- 2. The database installs itself (Config.AutoInstallSQL = true); or import sql/install.sql.
- 3. Add ensure rd_garage after rd_bridge and disable your previous garage script. Never run two garage systems on the same table.
- 4. Edit config.lua: Config.VehicleStorage, your garages and rules.
- 5. Restart and read the console: it prints the chosen storage and any configuration error.
Compatibility
QBCore, Qbox, ESX and standalone through rd_bridge (adapters reviewed against each resource's official documentation, including the player_vehicles and owned_vehicles schemas). Only standard columns are written. Migration notes for qb-garages and esx_garage style tables are in the README. Protected with Cfx.re Asset Escrow; config.lua, shared/interiors.lua, server/vehicles.lua, locales, SQL and the UI files stay editable.
FAQ
- No garage shows up. Check the console, that the SQL is installed and that rd_bridge starts first.
- My vehicles do not come out. Check Config.PublicNetwork and that the garage id matches the garage column.
- Keys are not given. It depends on the key script supported by rd_bridge; use Config.Keys.serverEvent for your own.
- Can I migrate from my old garages? Yes: keep the same garage ids or update the garage column; see the README.
- Does it cover jg-advancedgarages? That script was not consulted.
- Is it tested? This is the first release (v1.0): code-reviewed and lint-checked, and the framework schemas were read from their official repositories. Vehicle creation, interiors and the builder have not been run in a live server by us. Report any issue and we fix it.