> For the complete documentation index, see [llms.txt](https://docs.menanak47.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.menanak47.com/esx/ak47_garage/integration.md).

# Integration

### Set State

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

### 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_garage:housing:storevehicle", UniqueHouseId, 'car') -- car, boat, heli, plane
```

{% endtab %}

{% tab title="Take Vehicle" %}

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

{% endtab %}
{% endtabs %}
