# Integration

### Set State

```lua
--@plate = vehicle plate number
--@state = 0 or 1
--@depotprice = number or nil
TriggerServerEvent('ak47_qb_garage:setstate', plate, state, depotprice)
```

### Set Vehicle Fuel

Path: /modules/main/client/customizable.lua

<figure><img src="/files/OgP1BzxUHDtEKFtWsfBI" alt=""><figcaption></figcaption></figure>

### Give Key

Path: /modules/main/client/customizable.lua

<figure><img src="/files/NANKmqyt5pR8PlVPllvy" alt=""><figcaption></figcaption></figure>

### Remove Key

Path: /modules/main/client/customizable.lua

<figure><img src="/files/AOjm9r0Jo7KMkNjuZrXM" alt=""><figcaption></figcaption></figure>

### Housing Garage:

Examples:

{% tabs %}
{% tab title="Store Vehicle" %}

```lua
TriggerEvent("ak47_qb_garage:housing:storevehicle", UniqueHouseId, 'car') -- car, boat, heli, plane
```

{% endtab %}

{% tab title="Take Vehicle" %}

```lua
TriggerEvent("ak47_qb_garage:housing:takevehicle", UniqueHouseId, 'car') -- car, boat, heli, plane
```

{% endtab %}
{% endtabs %}


---

# 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.menanak47.com/qbcore/ak47_qb_garage/integration.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.
