> For the complete documentation index, see [llms.txt](https://arctic-development.gitbook.io/arctic-development/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://arctic-development.gitbook.io/arctic-development/scripts/vehicle-spawner.md).

# Vehicle Spawner

The **Vehicle Spawner Script** for FiveM is the one-stop solution for Spawning Vehicles In-Game!

***

<figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2FG7Ppyqch4zt8DljqHQgy%2Fimage.png?alt=media&amp;token=8f310974-d6cb-4b38-9f82-09a8efba2c27" alt=""><figcaption></figcaption></figure>

1. [Ox\_lib](https://github.com/overextended/ox_lib)

***

<figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2FcjHtQH2wOzZHLKnlKate%2FPreview.png?alt=media&amp;token=5ffabc92-3a40-471e-9e58-daa4e56f7c4b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2F5ZLAOgH8dQ3Jd5mGtXHe%2FScreenshot%202026-03-12%20200030.png?alt=media&amp;token=0c48a89e-fb6d-4780-9b8f-7d4f8983cec0" alt=""><figcaption><p>Fire/EMS Vehicles Preview</p></figcaption></figure>

<figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2F4CAdyTMKtB8DdgRhonip%2FScreenshot%202026-03-12%20200049.png?alt=media&amp;token=c346b89e-ebf2-4b12-ab2d-1638a4115f72" alt=""><figcaption><p>Civ Vehicles Preview</p></figcaption></figure>

<figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2ForToxYFYw68X34ZN1nc3%2FScreenshot%202026-03-12%20200100.png?alt=media&amp;token=f4e336a7-2623-4061-a829-e350091fed0a" alt=""><figcaption><p>LEO Vehicles Preview</p></figcaption></figure>

<figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2F8IfVtlB786KLbSQzaLaT%2FScreenshot%202026-03-12%20200112.png?alt=media&amp;token=4619fb0b-b13c-40a2-a01d-194dca42c21f" alt=""><figcaption><p>DOT Vehicles Preview</p></figcaption></figure>

<figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2FX287CnROVH1Jk8hecUD4%2FScreenshot%202026-03-12%20200121.png?alt=media&amp;token=8dc2b25b-7309-4111-bd43-c569bf3b3236" alt=""><figcaption><p>Command Preview</p></figcaption></figure>

***

{% hint style="info" %}
Want to add a new category?
{% endhint %}

```lua

-- Head to our Config.Categories, and add a new line with its name, example here
["My New Category"] = "My New Category",
-- Then add the category within the code as follows below.
Config.Categories = {
    ["CIV Vehicles"] = "CIV Vehicles",
    ["LEO Vehicles"] = "LEO Vehicles",
    ["DOT Vehicles"] = "DOT Vehicles",
    ["Fire/EMS Vehicles"] = "Fire/EMS Vehicles",
    ["My New Category"] = "My New Category"
}

-- Inorder for vehicles to be in the new cateogyr head to "Config.Vehicles" 
-- Then add a new array in the format.
    ["My New Category"] = {
      { label="Adder", spawncode="adder", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894482/banshee.png" },
      { label="Banshee", spawncode="banshee", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894482/banshee.png" },
      { label="Buffalo", spawncode="buffalo", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894488/buffalo.png" },
    },
-- Then add it within our config as follows below.
Config.Vehicles = {
    ["CIV Vehicles"] = {
      { label="Adder", spawncode="adder", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894482/banshee.png" },
      { label="Banshee", spawncode="banshee", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894482/banshee.png" },
      { label="Buffalo", spawncode="buffalo", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894488/buffalo.png" },
    },
    ["LEO Vehicles"] = {
      { label="Police Cruiser", spawncode="police", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894482/banshee.png" },
      { label="Police Cruiser 2", spawncode="police2", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894490/police2.png" },
      { label="Police Cruiser 3", spawncode="police3", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894492/police3.png" },
    },
    ["DOT Vehicles"] = {
      { label="Flatbed", spawncode="flatbed", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894482/banshee.png" },
      { label="Tow Truck", spawncode="towtruck", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894484/towtruck.png" },
      { label="Tow Truck 2", spawncode="towtruck2", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894486/towtruck2.png" },
    },
    ["Fire/EMS Vehicles"] = {
      { label="Fire Truck", spawncode="firetruk", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894494/firetruk.png" },
      { label="Ambulance", spawncode="ambulance", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894496/ambulance.png" },
    },
     ["My New Category"] = {
      { label="Adder", spawncode="adder", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894482/banshee.png" },
      { label="Banshee", spawncode="banshee", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894482/banshee.png" },
      { label="Buffalo", spawncode="buffalo", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894488/buffalo.png" },
    }
}
```

***

```lua
Config = {}
-----------------------------------------------------------------------------------------------------
-- Developer Config
-----------------------------------------------------------------------------------------------------
Config.Debug = false -- Enable debug prints
-----------------------------------------------------------------------------------------------------
-- Menu Config
-----------------------------------------------------------------------------------------------------
Config.Keybind = "F6" -- Keybind to open the menu
Config.Command = "spawner" -- Command to open the menu
Config.MenuTheme = "purple" -- Menu theme (purple, red, orange, yellow, green)
-----------------------------------------------------------------------------------------------------
-- Category Config
-----------------------------------------------------------------------------------------------------
Config.Categories = {
    ["CIV Vehicles"] = "CIV Vehicles",
    ["LEO Vehicles"] = "LEO Vehicles",
    ["DOT Vehicles"] = "DOT Vehicles",
    ["Fire/EMS Vehicles"] = "Fire/EMS Vehicles"
}
-----------------------------------------------------------------------------------------------------
-- Vehicle Config
-----------------------------------------------------------------------------------------------------
Config.Vehicles = {
    ["CIV Vehicles"] = {
      { label="Adder", spawncode="adder", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894482/banshee.png" },
      { label="Banshee", spawncode="banshee", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894482/banshee.png" },
      { label="Buffalo", spawncode="buffalo", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894488/buffalo.png" },
    },
    ["LEO Vehicles"] = {
      { label="Police Cruiser", spawncode="police", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894482/banshee.png" },
      { label="Police Cruiser 2", spawncode="police2", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894490/police2.png" },
      { label="Police Cruiser 3", spawncode="police3", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894492/police3.png" },
    },
    ["DOT Vehicles"] = {
      { label="Flatbed", spawncode="flatbed", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894482/banshee.png" },
      { label="Tow Truck", spawncode="towtruck", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894484/towtruck.png" },
      { label="Tow Truck 2", spawncode="towtruck2", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894486/towtruck2.png" },
    },
    ["Fire/EMS Vehicles"] = {
      { label="Fire Truck", spawncode="firetruk", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894494/firetruk.png" },
      { label="Ambulance", spawncode="ambulance", image="https://cdn.discordapp.com/attachments/1104416442037379840/1104416470424894496/ambulance.png" },
    }
}
```

{% hint style="success" %}
Downloads

\[PAID | Open Source] [Official Store Link](https://arcticdevlabs.com/package/script?script=Vehicle-Spawner)
{% endhint %}
