FR Dealership
Premium dealership and garage for FiveM: cinematic showroom with a live turntable, 9 vehicle categories, instalment financing with automatic impounding and repossession, personal garage and real server-side ownership. ESX and QBCore with zero configuration.
v1.2.0 · ~ 49 KB · Updated: 2026-06-29 · ESX · QBCore
Not just another dealership
FR Dealership combines a first-class visual experience with a genuinely robust ownership and financing system.
fr_owned_vehicles — server never trusts the client for price or ownershipIsOwner and GetOwner exports to validate ownership from other scripts (e.g. fr_carlock)Not just another dealership
Cinematic showroom
Orbital camera that orbits the car on the podium. Live performance bars: top speed, acceleration, braking and handling. Seat count.
9 vehicle categories
Compact, Sedan, SUV, Coupe, Muscle, Sports, Super, Off-Road and Motorcycle. Add add-on cars with a single line in config.lua. Server-validated prices.
Color picker
Live paint colour preview before buying. Predefined colours editable in Config.Colors.
Cash or bank payment
Real-time affordability feedback. If the player has insufficient funds, the button shows it before confirming.
Instalment financing
Configurable down payment + automatic instalments with interest. Late fee per missed instalment, impounding if unpaid, repossession + ban if default continues.
Personal garage
Multiple garages on the map. Store the vehicle with all properties, retrieve it or sell it back for a configurable %.
Real server-side ownership
Each purchase writes to fr_owned_vehicles with a unique generated plate. Server validates price, label and ownership.
Exports for other scripts
IsOwner(source, plate) and GetOwner(plate) available server-side. fr_carlock uses IsOwner so only the owner can lock their car.
Test drive
Temporary copy at the airport for X seconds. Cannot be stored or kept. Geofence: leaving the area ends the test.
Financing system
Instalment buying with real consequences for non-payment.
The player pays the down payment (configurable %) at purchase time.
The rest is split into equal instalments charged automatically every X real-world minutes.
Missed instalment → vehicle impounded (cannot be taken out of the garage) + late fee.
Prolonged default → vehicle repossessed + financing ban.
Ownership model
Every purchased vehicle has a real record in the database.
The fr_owned_vehicles table stores owner, plate, model, category, full vehicle properties (JSON), status (stored/out) and impound state. On disconnect, any vehicle left out is automatically set to stored so nothing is ever lost.
-- server-side
exports["fr_dealership"]:IsOwner(source, plate)
exports["fr_dealership"]:GetOwner(plate)
Dependencies
oxmysql req.
Required. The only hard dependency.
framework req.
ESX Legacy or QBCore — auto-detected at runtime, no configuration.
fr_interact
Optional. Floating press E prompts. Falls back to native if not running.
fr_notify
Optional. Styled notifications. Falls back to framework notifications.
Configuration
Everything in config.lua. No other file needs to be touched.
Config.Locale— default language: en / esConfig.Brand— dealership name shown in the NUIConfig.SellPercent— % of original price refunded when selling backConfig.TestDrive— master switch, duration, spawn and geofenceConfig.Finance— down payment, interest, instalments, late fee, impound and banConfig.Showrooms— coordinates, ped, podium, camera and blip for each showroomConfig.Garages— coordinates, spawn and blip for each garageConfig.Categories— full vehicle catalog by category
Compatibility
FR Dealership works with ESX Legacy and QBCore with zero configuration. Compatible with fr_carlock (uses IsOwner), fr_notify and fr_interact.
Compatible with fiverank_guard, fiverank_intro, fiverank_deck and fr_hub.
If you have another dealership/garage system active, make sure there are no conflicts in the vehicle tables.
Quick install
Copy the folder, one line in server.cfg and done. SQL tables are created automatically.
Copy fr_dealership into your server's resources/ directory.
Add ensure fr_dealership to your server.cfg.
Restart the server. Tables are created automatically.
The script auto-detects ESX or QBCore. No framework configuration needed.
Full documentation
config.lua reference, how to clone showrooms and garages, add add-on vehicles and the database model.
Give your server the dealership it deserves
FR Dealership is free, professional and ready in under 5 minutes.