# Exports

## Client Exports

### GetPlayerInGarage

```lua
-- Get player in zone Garage 
local state = exports['inf_garage']:inGarage() 
-- return state : boolean
```

### Request Impount

```lua
-- Additional impound for specified jobs to store in depot jobs. 
-- This will popup new input form ( selection : garageId, input : price )
-- selection garagaId will select all garage by the source job
-- example : Player job police - will get all garages are restricted to "police"
exports['inf_garage']:RequestImpound()
```

### Toggle Garage Blips On/Off

```lua
exports['inf_garage']:toggleBlipGarages(true) -- to show blips
exports['inf_garage']:toggleBlipGarages(false) -- to hide blips
```

## Server Export

### GetAllVehiclesById

```lua
-- Get all vehicle from user
local vehicles = exports['inf_garage']:GetAllVehiclesById(source)

-- return : vehicles[]
-- @model : number
-- @vehicleType : string
-- @plate : string
-- @garage : string
-- @depotprice : number
-- @stored : boolean
```
