> For the complete documentation index, see [llms.txt](https://finalz-scripts.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://finalz-scripts.gitbook.io/docs/finalz-free/finalz-garagesystem/exports.md).

# exports

These are the usable exports for our garage system

All exports are client sided.!!

## ImpoundVehicle - client s For police, or desired jobs to be able impound the cars

```lua
RegisterCommand("impound", function(source, args, rawCommand)
  exports.FinalZ_Garage:ImpoundVehicle(GetClosestVehicle(GetEntityCoords(PlayerPedId()), 2.0, 0))
end, false)

--The export has built-in animation.
```

## isVehLocked - Get if the vehicles is locked&#x20;

<pre class="language-lua"><code class="lang-lua">RegisterCommand("isLocked", function(source, args, rawCommand)
  local locked = exports.FinalZ_Garage:isVehLocked(GetClosestVehicle(GetEntityCoords(PlayerPedId()), 2.0, 0))
<strong>  if locked then
</strong><strong>    -- do smthng if vehicles is locked
</strong>  else
    -- return was false, check for the vehicle value in the export
  end
<strong>end, false)
</strong>

</code></pre>
