SleepyCode
Home
AboutBlogSubscriptionDocs
Cart0
SleepyCode
Cart0
  • πŸ’£Documentation

Scripts

  • Multicharacter
  • DevTool
  • Fishing
  • πŸ—ƒοΈGarages V2
    • What's New
    • Installation
    • Config File
    • Features
    • Exports and Hooks
    • Framework and Integrations
    • Commands
    • Troubleshooting
  • 🚌Bus Job
  • πŸš—Vehicle Shop V1
  • πŸ—ƒοΈGarages V1
  • 🍁Selldrugs
  • πŸŽ…Advent Calendar
  1. Docs
  2. /Garages V2
  3. /Features

Garages V2

Features

Garage zones, impounds, police tow, showroom, insurance, co-owner, and admin tools in Garages V2.

On this page11 sections
  • Garage UI
  • Garages
  • Impounds
  • Police tow
  • Showrooms
  • Insurance
  • Plate change
  • Co-owner system
  • Favorites and last used
  • Admin panel
  • Vehicle history

Garage UILink copied

Garages V2 uses a modern React-based interface.

It is built around fast browsing, clear vehicle status, and quick actions.

Garage tabs

The garage UI includes:

  • All
  • Stored
  • Outside
  • Favorites
  • History

Vehicle detail panel

When a vehicle is selected, the side panel shows:

  • vehicle name and image
  • custom label
  • vehicle type badge
  • garage location
  • model hash
  • last used timestamp
  • body, engine, and fuel bars
  • insurance state and expiry
  • action buttons like Drive, Buy Insurance, and Transfer

Stats bar

The bottom bar shows:

  • total vehicles
  • stored vehicles
  • outside vehicles
  • impounded vehicles

GaragesLink copied

Garages are zones where players store and retrieve vehicles.

Garage data is stored in locations/garages.json.

Zone types

  • Vehicle for cars and bikes
  • Planes for aircraft
  • Boat for water vehicles

Garage definition

JSON
{  "my_garage": {    "coords": { "x": 0.0, "y": 0.0, "z": 0.0 },    "size": { "x": 10.0, "y": 10.0, "z": 5.0 },    "rotation": 0.0,    "type": "all",    "job": "",    "ownerOnlyIdentifier": "",    "blip": true,    "blipConfig": {      "enabled": true,      "visibility": "all",      "name": "My Garage",      "id": 50,      "scale": 0.7,      "color": 3,      "alpha": 255,      "shortRange": false    },    "spawn": [      { "x": 1.0, "y": 1.0, "z": 0.0, "w": 90.0 }    ]  }}

Garage fields

FieldTypeDescription
coordsobjectZone center
sizeobjectPolyZone box size
rotationnumberZone rotation
typestringall, car, bike, boat, or plane
jobstringRequired job
ownerOnlyIdentifierstringPrivate garage owner
blipbooleanShow map blip
blipConfigobjectBlip settings
spawnarrayOne or more vehicle spawn points

How storage works

Players can store vehicles in two ways:

  1. 1.
    Use a target interaction inside a garage zone.
  2. 2.
    Press the configured key in no-target mode.

Garages V2 saves:

  • vehicle properties
  • door, window, and tire state
  • fuel and health values
  • last used timestamp

When a vehicle is pulled, the script uses the first free spawn point.

Blocked spawn points are skipped automatically.

Private and job garages

Set job to restrict a garage by job.

Set ownerOnlyIdentifier to create a private garage.

Private garages only show the blip and interaction to the assigned player.

ImpoundsLink copied

Impound lots release vehicles for a fee.

They support daily fees, job restrictions, insurance benefits, and capacity limits.

Impound definition

JSON
{  "my_impound": {    "impoundKind": "civilian",    "coords": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 },    "spawnCoords": { "x": 1.0, "y": 1.0, "z": 0.0, "w": 90.0 },    "blip": true,    "blipConfig": {},    "requiredJob": "",    "allowedJobs": [],    "releaseFee": 500,    "dailyFee": 100,    "maxDays": 7,    "maxVehicles": 50,    "notifyOwner": true,    "openToAll": false,    "requireInsurance": false  }}

Impound fields

FieldTypeDescription
impoundKindstringcivilian or police
coordsobjectNPC position
spawnCoordsobjectVehicle spawn position
releaseFeenumberBase release fee
dailyFeenumberExtra fee per day
maxDaysnumberMaximum daily fee days
maxVehiclesnumberMax vehicles, 0 for unlimited
requiredJobstringJob required to manage
allowedJobsarrayExtra allowed jobs
openToAllbooleanPublic access
notifyOwnerbooleanNotify owner on impound
requireInsurancebooleanRequire active insurance

Insurance benefits at impound

  • freeImpound removes the release fee
  • impoundDiscount reduces the fee
  • freeRepair restores vehicle health on release

Daily fees

Daily fee uses this formula:

dailyFee * min(daysHeld, maxDays)

daysHeld is calculated from impounded_at.

Police towLink copied

Police can impound vehicles with hold timers and reason tracking.

Commands

CommandAccessDescription
/impoundpolicePoliceOpen the police tow UI
/odholujAdminTow nearby vehicles to the default police impound

Police tow UI

Officers can:

  • enter or detect a vehicle plate
  • choose a police impound
  • set hold hours
  • add a tow reason

The hold duration is capped by Config.PoliceTow.MaxHoldHours.

Hold timer

Players cannot retrieve a vehicle while the hold is active.

The impound UI shows the remaining time.

Server exports

Lua
exports.sc_garages:towVehicle(plate, impoundName, holdHours, actorSrc, reason)exports.sc_garages:setVehicleHold(plate, holdHours)exports.sc_garages:releaseVehicleHold(plate)exports.sc_garages:getVehicleHold(plate)

ShowroomsLink copied

Showrooms let players preview vehicles before driving out.

Each spawned vehicle can show a DUI overlay with key vehicle info.

Flow

  1. 1.
    Player interacts with the showroom NPC.
  2. 2.
    Player is moved to a private routing bucket.
  3. 3.
    Vehicles spawn on display positions.
  4. 4.
    DUI overlays render above vehicles.
  5. 5.
    Player enters a vehicle.
  6. 6.
    Player exits through the showroom exit zone.
  7. 7.
    The vehicle spawns outside through the normal garage flow.

Showroom definition

JSON
{  "my_showroom": {    "enter": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 },    "exit": {      "coords": { "x": 0.0, "y": 0.0, "z": 0.0 },      "size": { "x": 5.0, "y": 5.0, "z": 3.0 },      "rotation": 0.0    },    "zones": [      { "coords": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } }    ]  }}

Restrictions

  • Vehicles already outside cannot be driven out.
  • Vehicles on police hold cannot be driven out.
  • Players get notified when a vehicle is restricted.

Notification spam is limited by a short cooldown.

InsuranceLink copied

Insurance uses configurable tiers with optional benefits.

Default tiers

TierPriceDurationFree ImpoundImpound DiscountFree RepairDelete Protection
Basic$5,00030 daysNo25%NoNo
Standard$12,00060 daysNo60%YesNo
Premium$25,00090 daysYes100%YesYes

Benefits

  • Free repair on garage pull
  • Discounted or free impound release
  • Protection from admin deletion

Players can buy, cancel, and extend policies from the vehicle detail panel.

Policy extension

When Config.Insurance.ExtendFromActivePolicy is true, new purchases extend the active policy instead of resetting from today.

Plate changeLink copied

Players can change their plate while sitting in a vehicle.

Flow

  1. 1.
    Sit in the vehicle.
  2. 2.
    Run the plate command.
  3. 3.
    Enter a new plate.
  4. 4.
    Pay the configured fee.

Validation

  • Minimum and maximum length are configurable.
  • Only A-Z and 0-9 are allowed.
  • Blacklisted words are blocked.
  • Existing plates cannot be reused.

Co-owner systemLink copied

Vehicle owners can add a co-owner.

The co-owner can access the vehicle in garages.

Rules

  • The nearest player within 5 meters is used.
  • The owner and target must be different players.
  • Co-owners can pull and store the vehicle.
  • Only the owner can transfer, insure, or change the plate.

Favorites and last usedLink copied

Players can mark vehicles as favorites in the UI.

Each vehicle also shows when it was last used.

Admin panelLink copied

The admin panel gives full in-game control over vehicles and locations.

Main sections

  • Players
  • Commands
  • Create Garage
  • Create Impound
  • Create Showroom
  • Manage

Permissions

Framework-specific admin permissions control access.

All actions can be logged to Discord.

Admin panel details

Admins can:

  • browse players and inspect vehicles
  • edit garage or plate data
  • remove vehicles
  • reveal vehicle location
  • create garages, impounds, and showrooms in-game
  • delete saved locations without editing files

Vehicle historyLink copied

Garages V2 stores important vehicle actions in vehicle_history.

Tracked actions

ActionDescription
pull_carVehicle pulled from garage
hide_carVehicle stored in garage
impoundVehicle impounded
impound_pickupVehicle released from impound
transfer_outVehicle transferred away
transfer_inVehicle received
plate_changePlate changed
admin_addVehicle added by admin
admin_removeVehicle removed by admin
admin_editVehicle edited by admin
insurance_buyInsurance purchased
insurance_cancelInsurance cancelled

History UI

Players can search history entries by text.

They can also filter by vehicle and action type.

← PreviousConfig FileGarages V2Next β†’Exports and HooksGarages V2

On this page

  • Garage UI
  • Garages
  • Impounds
  • Police tow
  • Showrooms
  • Insurance
  • Plate change
  • Co-owner system
  • Favorites and last used
  • Admin panel
  • Vehicle history
↑ Back to top
Ready when you are

Put your server on something that holds up

150+ servers run our resources - ESX, QBCore and standalone. Once the payment clears, the package is waiting in Keymaster.

Browse the catalogueAsk on Discord β†—
  • Delivered instantly
  • Support with no expiry
  • 100+ reviews
  • Payment via Tebex

SleepyCode

FiveM Scripts

Checkout is run by Tebex Limited- they handle payment, invoicing and refunds. Β© 2026

Community

  • Discord
  • YouTube
  • X (Twitter)

Navigation

  • Home
  • All Scripts
  • ESX Scripts
  • QBCore Scripts
  • Free Scripts
  • About
  • Blog
  • Documentation
  • Support

Legal

  • Privacy Policy
  • Tebex Privacy Policy
  • Terms of Service
  • Impressum

Β© 2026 SleepyCode. Not affiliated with Rockstar Games or Take-Two Interactive.

Powered byTebex