# jg-advancedgarages

{% hint style="warning" %}
This integration works **only with OP Gangs v2.1.4 or newer**.&#x20;

Support for this integration will be available **out of the box** in the **latest version of JG Garages** very soon.
{% endhint %}

{% stepper %}
{% step %}

### Download Edited Files

Download the prepared integration files from the link below:

{% embed url="<https://data.otherplanet.dev/download/integrations/jg-garages/jg-garagesint.rar>" %}
{% endstep %}

{% step %}

### Replace Files in JG Garages

1. Navigate to the following directory: `jg-advancedgarages/framework/`
2. Unzip the downloaded archive.
3. **Replace the existing files** in this directory with the extracted ones.
   {% endstep %}

{% step %}

### Configure Garage System in OP Gangs

Open your **op-crime config** and set the garage system to JG Garages:

`Config.GarageScript = "jg-advancedgarages"`
{% endstep %}

{% step %}

### Only For ESX Framework

Open your **jg-advancedgarages config** and set ESX Integration to true:

`Config.GangEnableCustomESXIntegration = true`
{% endstep %}
{% endstepper %}


---

# 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://docs.otherplanet.dev/scripts/op-gangs/integrations/jg-advancedgarages.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.
