> For the complete documentation index, see [llms.txt](https://docs.av-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.av-scripts.com/guides/vehicleshop/addon-vehicles.md).

# Addon Vehicles

## Vehicle Name

> First thing first, your addon vehicles names... Fivem doesn't know how your addon vehicles are named so we need to register them.

* Go to **vehicleshop/client/editable/names.lua** and add your addon vehicles in customNames table, make sure to put the correct spawn name (model).

<figure><img src="/files/wGB8bc3hEgshbrRUzNqj" alt=""><figcaption></figcaption></figure>

## Vehicle Thumbnail

> This step is optional, to generate the vehicle thumbnail you have 2 options:

**1) Use a greenscreen script that takes images**, an option can be this one: <https://github.com/Bentix-cs/fivem-greenscreener>

{% hint style="warning" %}
fivem-greenscreener is NOT my script, I don't give any support for it and if it gets removed from Github by its owner then GG, there's nothing I can do about it. **Read his own documentation.**
{% endhint %}

**2)** **Use images from Vecteezy (I use this option):**

* Get a Premium sub from <https://www.vecteezy.com/> (is like $5 USD)
* Search any vehicle you need a thumbnail (example a corvette) and download it:

<figure><img src="/files/R57EddU2MxE1cHnfG8FY" alt=""><figcaption><p>Make sure to search in the PNG category</p></figcaption></figure>

* Make sure to resize the image and change it format to webp so it can load fast (I use Photoshop).
* Host the image in [Fivemerr](https://fivemerr.com/) or [Fivemanage](https://fivemanage.com/).
* Link the vehicle image to your vehicle using the admin panel.

{% hint style="danger" %}
Don't use Discord or Imgur as image hosting, images will stop working and you will need to upload them again...
{% endhint %}

> If you're not sure which dimensions to use, most dimensions will work, but make sure the file size is small and the vehicle fills the entire frame. Here's an example:

```markdown
https://files.fivemerr.com/images/ab1a931c-03b5-4c92-81db-45607a7231fc.webp
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.av-scripts.com/guides/vehicleshop/addon-vehicles.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
