SleepyCode
Home
AboutBlogSubscriptionDocs
Cart0
SleepyCode
Cart0
  1. Home
  2. /
  3. Guides
7 min read

Guide · June 10, 2026

How to Install the SleepyCode Vehicle Shop V1 (FiveM ESX Guide)

Step-by-step installation guide for SleepyCode Vehicle Shop V1 on FiveM ESX servers - dependencies, server.cfg, config.lua options and test drives.

Vehicle Shop V1 by SleepyCode is a fully-featured FiveM vehicle dealership script for ESX servers. It supports NPC interaction via ox_target, a camera-based showroom UI, test drives, per-vehicle pricing, and Discord webhook logging.

Dependencies

Before you start, install and ensure these resources are running:

  • ox_lib - github.com/overextended/ox_lib
  • ox_target - github.com/overextended/ox_target
  • oxmysql - required for ESX player data

Installation Steps

1. Place the resource

After purchasing from the SleepyCode store and downloading via Keymaster, extract the folder and place it in your resources directory:

resources/
  [sleepycode]/
    sc_vehicleshop/
      fxmanifest.lua
      shared/
        config.lua
      client/
      server/
        functions.lua

2. Add to server.cfg

cfg
ensure oxmysql
ensure ox_lib
ensure ox_target
ensure es_extended
ensure sc_vehicleshop

Order matters - sc_vehicleshop must start after its dependencies.

3. Configure config.lua

The main config file lives at shared/config.lua. Key settings:

Dealer NPC and location:

lua
Ped = "mp_m_shopkeep_01"
-- Blip label (shown on the map)
BlipLabel = "Sklep samochodowy"   -- "Car Shop" - change to your preference
BlipSprite = 52

Test drive settings:

lua
TestDriveDuration = 15   -- seconds before vehicle is removed
TestDrivePlate    = "TEST CAR"

ox_target interaction distance:

lua
TargetDistance = 2.5

4. Vehicle categories

The script ships with six built-in categories:

CategoryLabel
SedanSedan
SuvSUV
OffroadOffroad
SuperSuper
MuscleMuscle
ClassicClassic

Add your own by extending the categories table in config.lua.

5. Adding vehicles

Each vehicle entry requires: model name, price, image path, category, and performance stats. Example from the default config:

lua
{ model = "sultan",    price = 25000, category = "Sedan",  label = "Sultan" },
{ model = "adder",     price = 91000, category = "Super",  label = "Adder"  },
{ model = "zentorno",  price = 72000, category = "Super",  label = "Zentorno" },
{ model = "dominator", price = 44000, category = "Muscle", label = "Dominator" },
{ model = "kamacho",   price = 35000, category = "Offroad", label = "Kamacho" },

The default catalogue includes 14 vehicles ranging from $2,500 to $91,000.

6. Discord webhook logging

The server/functions.lua file includes a webhook function that logs every purchase with: player name, vehicle model, price, plate, and timestamp. Set your webhook URL there.

7. Restart and test

Run /start sc_vehicleshop in the F8 console or fully restart the server. Navigate to the blip on the map and interact with the NPC via ox_target to open the dealership UI.

Common Issues

NPC doesn't appear - Confirm that ox_target is started before sc_vehicleshop in server.cfg.

Test drive timer doesn't work - Check TestDriveDuration is a number (integer), not a string.

Purchase doesn't deduct money - Make sure ESX is fully loaded before the shop resource starts.

For help, join the SleepyCode Discord at discord.gg/qCDt8u7Efg.

The script

Don't have Vehicle Shop yet?

See the product page

On this page

  1. 01Dependencies
  2. 02Installation Steps
  3. 03Common Issues
Next

More guides

  • SleepyCode Garages V2 - Full Installation & Configuration GuideComplete setup guide for SleepyCode Garages V2 on FiveM (ESX, QBCore, QBox, Standalone) - dependencies, config, impound, insurance and admin panel.Read →
  • Best FiveM ESX Scripts in 2026 - SleepyCode Store OverviewOverview of the best FiveM ESX scripts on SleepyCode in 2026: Garages V2, Vehicle Shop V1, Selldrugs, Bus Job and more - all under 0.03ms resmon.Read →
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