# Add Vehicles

The first thing to do is to insert the vehicles you want to add into the MYSQL table, you must add the model, price and category and the rest will be done automatically via a command

Once this is done go into game and check that CommandUpdateVehicle = true

```lua
CommandUpdateVehicle = true
```

Run the command and all vehicles will spawn and delete themselves to update the car's statistics

{% hint style="warning" %}
Once everything is finished remember to set CommandUpdateVehicles = false
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://doc.var-fivem.com/autocardealer/configuration/add-vehicles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
