# faq

<details>

<summary>The ped spawns but the target interaction doesn't appear.</summary>

Check that `Config.TargetType` and `Config.TargetResource` exactly match the type and resource name running on your server. Both values are case-sensitive. Also confirm that your target resource starts *before* `moh-jobgarage` in `server.cfg`.

</details>

<details>

<summary>The vehicle spawns without fuel.</summary>

Verify that `Config.FuelSystem` is set to the exact resource name of your fuel script and that it is started before `moh-jobgarage`. If you don't use a dedicated fuel resource, set `Config.FuelSystem = false` — vehicles will still spawn using GTA's native fuel level.

</details>

<details>

<summary>The player gets no keys after spawning.</summary>

Check that `Config.VehicleKeys` matches your vehicle-keys resource name exactly. Supported out-of-the-box: `'qb-vehiclekeys'` and `'qs-vehiclekeys'`. Any resource that exposes a `GiveKeys(plate)` export will also work via the generic fallback. Set to `false` to disable key handoff entirely.

</details>

<details>

<summary>A player can't see any vehicles in the menu.</summary>

Two common causes:

1. The player's job or gang name doesn't exactly match the `Job` or `Gang` value in the config. Check the player's data in the F8 console with `TriggerEvent` or server logs.
2. The player's job grade is below the minimum `Grade` set on every vehicle in that location. Temporarily set all grades to `0` to confirm.

</details>

<details>

<summary>Can I give access to both a job and a gang on the same garage?</summary>

Yes. Set both `Job` and `Gang` fields. A player who matches *either* condition will be granted access.

</details>

<details>

<summary>Can I allow multiple jobs on the same garage?</summary>

Yes. Set `Job` to a table:

```lua
Job = {'police', 'sheriff', 'swat'},
```

A player only needs to match one of the listed jobs.

</details>

<details>

<summary>Can a player have two vehicles out at the same time?</summary>

No. The script tracks a single `SpawnedVehicle` entity per client. Spawning a new vehicle automatically deletes the previous one first.

</details>

<details>

<summary>How do I change the position of the NUI panel?</summary>

Edit `html/style.css`. The `.menu-container` class controls the panel's position on screen. By default it is anchored to the right side, vertically centered.

```css
.menu-container { position: absolute; right: 30px; /* change to left / top / bottom as needed */ top: 50%; transform: translateY(-50%); width: 320px; }
```

</details>

<details>

<summary>The menu opens but the logo doesn't appear.</summary>

Check that the logo file exists at the path referenced in `Logo = 'logos/yourfile.png'`, relative to the `html/` folder. Also make sure the file is listed in `fxmanifest.lua` under `files` if it is not already covered by a wildcard.

</details>

<details>

<summary>Where do I report bugs or request features?</summary>

Open an issue on the resource's repository or contact the developer through the community Discord.

</details>


---

# 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/faq.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.
