# Serveur Exports

### HasCarKey

Checks if the player has the key to the vehicle with the given license plate.

```lua
-- @param {plate: string}: Put a vehicle plate
local HasCarKey= exports['ds-carkeys']:HasCarKey(plate)

```

***

### GiveCarKey

Gives a key for the vehicle with the specified plate and model to the nearest player (or self depending on implementation).

```lua
-- @param {plate: string}: Put a vehicle plate
-- @param {model: string}: Vehicle model
local giveCarKey= exports['ds-carkeys']:giveCarKey(plate, model)
```
