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

# General Installation

1. Upload the ambr4\_vehicleshop folder into resources/\[ambr4]/ambr4\_vehicleshop (or any other category folder you use).
2. Open the sql/ directory and import all .sql files into your database (for example: ambr4\_veh\_panel, car\_stock, ambr4\_veh\_showroom, etc.).
3. Make sure your framework and dependencies (see below) start **before** this script. Then add: ensure ambr4\_vehicleshop in server.cfg
4. Configure the config.lua file (optional, adjust if needed).
5. Restart your server.

### Dependencies

<details>

<summary><a href="https://github.com/overextended/oxmysql">oxmysql</a></summary>

oxmysql is the currently the most used and recommended SQL wrapper in FiveM as a whole. Chances are your server already is running this, but double check just in case!

</details>

<details>

<summary><a href="https://github.com/overextended/ox_lib">ox_lib</a></summary>

ox\_lib is utilized for its optimized and useful functions alongside its responsive interface options.

</details>

<details>

<summary><a href="https://github.com/esx-framework/esx_core/tree/main/%5Bcore%5D/es_extended">es_extended</a> or <a href="https://github.com/qbcore-framework/qb-core">qb-core</a> or <a href="https://github.com/Qbox-project">qbox</a></summary>

This script is compatible with both ESX and qb-core, offering flexibility and compatibility for various server setups.

</details>


---

# 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://ambr4-scripts.gitbook.io/docs/scripts/vehicle-shop/general-installation.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.
