# Exports

{% tabs %}
{% tab title="Client Exports" %}
`OpenGarage` - Open garage menu

```lua
--Open garage menu for garage you are at and have auth for
exports['mk_garage']:OpenGarage()
```

`StoreVehicle` - Store vehicle into garage

```lua
--Store vehicle (must be in driver seat) to garage you are at and have auth for
exports['mk_garage']:StoreVehicle()
```

`RemoveTracker` - Remove vehicle tracking on specific vehicle

```lua
--notify param is a boolean (true/false)
    --true notifies you the tracker was removed
exports['mk_garage']:RemoveTracker(vehicle, notify)
```

`ImpoundVehicle` - Impound the defined vehicle

```lua
---@param vehicle number Vehicle entity
---@param reason string or nil Impound reason
---@param releaseCost number Cost to release from impound
---@param impoundDays number Number of days before release
---@param impoundHours number Number of hours before release
---@param impoundMinutes number Number of minutes before release
---@param impoundGarageName string Name of impound garage to send vehicle to
exports['mk_garage']:ImpoundVehicle(vehicle, reason, releaseCost, impoundDays, impoundHours, impoundMinutes, impoundGarageName)
--Note that the vehicle being sent must match the garage type. (Land vehicles to land type impound)
```

`GetImpoundGarages` - Get a list of impound garages

```lua
---@param vehicleType string 'land', 'land_and_air', 'water', 'air' or nil
---@return table: { name string Garage name, label string Garage label, vehicleType string Garage vehicle type, coords vector2 Garage blip coords }

exports['mk_garage']:GetImpoundGarages(vehicleType)

Examples:
local landImpounds = exports['mk_garage']:GetImpoundGarages('land')

local allImpounds = exports['mk_garage']:GetImpoundGarages()
```

{% endtab %}

{% tab title="Server Exports" %}
`RemoveTracker` - Remove vehicle tracking on specific vehicle

```lua
--playerSourceToNotify param is a boolean (true/false)
    --true will notify the passed player source the tracker was removed
exports['mk_garage']:RemoveTracker(vehicle, playerSourceToNotify)
```

{% endtab %}
{% endtabs %}
