# installation

{% stepper %}
{% step %}

### Drop the resource into your server

Drop the `moh-jobgarage` folder into your server's `resources` directory.
{% endstep %}

{% step %}

### Add the resource to `server.cfg`

Add the following line to your `server.cfg` **after** QBCore and your target, fuel, and keys resources:

```cfg
ensure moh-jobgarage
```

{% endstep %}

{% step %}

### Configure the resource

Open `config.lua` and configure your target system, vehicle keys, fuel system, and locations.
{% endstep %}

{% step %}

### Add garage logo images

Add logo images for each garage under `html/logos/` (transparent PNG recommended).
{% endstep %}

{% step %}

### Restart the resource

Restart the resource or restart the server.
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
**Dependency order matters.** `moh-jobgarage` must start *after* `qb-core`, your target resource, your fuel resource, and your vehicle-keys resource. If any of these are missing or start after `moh-jobgarage`, features will silently fall back or produce console errors.
{% endhint %}

## Recommended `server.cfg` order

```cfg
ensure qb-core
ensure qb-target # or ox_target
ensure LegacyFuel # or your fuel resource
ensure qb-vehiclekeys # or your keys resource
ensure moh-jobgarage
```

## File structure

```
moh-jobgarage/
├── client.lua
├── config.lua
├── fxmanifest.lua
└── html/
    ├── index.html
    ├── app.js
    ├── style.css
    └── logos/
        ├── police.png
        ├── ambulance.png
        ├── sheriff.png
        └── ...
```


---

# 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://mohssins.gitbook.io/mohscriptsdocs/moh-jobgarage/installation.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.
