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

Scripts

  • Multicharacter
  • DevTool
  • Fishing
  • πŸ—ƒοΈGarages V2
  • 🚌Bus Job
  • πŸš—Vehicle Shop V1
  • πŸ—ƒοΈGarages V1
    • Installation
    • Config File
    • Notification Translations
    • UI Translations
    • Vehicle Classes
    • Exports and Events
    • Showroom
    • Commands
  • 🍁Selldrugs
  • πŸŽ…Advent Calendar
  1. Docs
  2. /Garages V1
  3. /Installation

Garages V1

Installation

Install Garages V1 for FiveM ESX, add dependencies, and import the required SQL structure.

On this page1 section
  • Requirements

Install the dependencies first.

Then import the SQL structure used by the garage system.

RequirementsLink copied

  1. 1.
    ox_lib (opens in a new tab)
  2. 2.
    ox_target (opens in a new tab)
  3. 3.
    oxmysql (opens in a new tab)
  1. 1

    Add the resourceLink copied

    Put the script folder inside your resources directory.

  2. 2

    Start dependenciesLink copied

    Make sure your required dependencies are loaded before the script.

  3. 3

    Import the SQLLink copied

    Run the SQL below in your database:

    SQL
    CREATE TABLE `owned_vehicles` (  `owner` varchar(49) DEFAULT NULL,  `plate` varchar(12) NOT NULL,  `vehicle` longtext DEFAULT NULL,  `type` varchar(20) NOT NULL DEFAULT 'car',  `job` varchar(20) DEFAULT NULL,  `stored` tinyint(4) NOT NULL DEFAULT 0,  `parking` varchar(60) DEFAULT NULL,  `pound` varchar(60) DEFAULT NULL,  `mileage` float DEFAULT 0,  `glovebox` longtext DEFAULT NULL,  `trunk` longtext DEFAULT NULL,  `state` int(11) DEFAULT 0,  `owner_type` varchar(255) DEFAULT NULL,  `co_owner` varchar(255) DEFAULT NULL,  `vehicleid` varchar(255) DEFAULT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;ALTER TABLE `owned_vehicles`  ADD PRIMARY KEY (`plate`);COMMIT;
  4. 4

    Restart the serverLink copied

    Restart the server after the import is complete.

Support

Need help with setup?

Start with the installation page for your script.

If you need extra help, join the SleepyCode Discord:

Support is faster when you include your script name, framework version, and error details.

Join the Discord (opens in a new tab)
← PreviousGarages V1Next β†’Config FileGarages V1

On this page

  • Requirements
↑ 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