# GUIDE: Adding Custom Vehicles

Step 1:\
Once you're in<kbd>shared/config.lua</kbd> , add your vehicle to the allowedVehicles table - just like this below!\
\
Once you add the vehicle, choose the mode like this:\
\- "interceptor" = Will launch an interceptor and trigger alerts.\
\- "alert" = Will only trigger alerts.

```lua
Config.allowedVehicles = {
    ['vehicle-spawn-name'] = { mode = 'interceptor' },
}
```

Step 2:\
Save, restart the script. Voilà!


---

# 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://spark-developments.gitbook.io/dev/military/missileinterceptor/guide-adding-custom-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.
