Back to Resources
Free resource · v1.2.0

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.

Cinematic showroomFinancing & impoundingServer-side ownership

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.

Animated turntable showroom: the car rotates on the podium with orbital camera and live performance bars
9 built-in categories: compact, sedan, SUV, coupe, muscle, sports, super, off-road and motorcycle
Instalment financing: configurable down payment, interest, late fees and financing ban on default
Automatic impounding: if the player misses a payment, the vehicle is locked in the garage
Automatic repossession: vehicle removed and player banned from financing after prolonged default
Real ownership in fr_owned_vehicles — server never trusts the client for price or ownership
IsOwner and GetOwner exports to validate ownership from other scripts (e.g. fr_carlock)
Test drive: airport test with geofence, configurable duration and non-storable car
Personal garage with multiple map points: vehicles are shared across all garages
Framework auto-detection: ESX and QBCore with zero configuration

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.

1

The player pays the down payment (configurable %) at purchase time.

2

The rest is split into equal instalments charged automatically every X real-world minutes.

3

Missed instalment → vehicle impounded (cannot be taken out of the garage) + late fee.

4

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 / es
  • Config.Brand — dealership name shown in the NUI
  • Config.SellPercent — % of original price refunded when selling back
  • Config.TestDrive — master switch, duration, spawn and geofence
  • Config.Finance — down payment, interest, instalments, late fee, impound and ban
  • Config.Showrooms — coordinates, ped, podium, camera and blip for each showroom
  • Config.Garages — coordinates, spawn and blip for each garage
  • Config.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.

1

Copy fr_dealership into your server's resources/ directory.

2

Add ensure fr_dealership to your server.cfg.

3

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.

Open documentation

Give your server the dealership it deserves

FR Dealership is free, professional and ready in under 5 minutes.

Cookie Settings

We use cookies to improve your experience, analyze traffic and provide additional features. You can accept all cookies, reject them or customize your preferences.