# 💡 Installation

#### **Step 1:&#x20;**<mark style="color:blue;">**Move Resource**</mark>

Extract the zip file you downloaded from Keymaster and place the <mark style="color:blue;">`fast-vehiclekeys`</mark> folder into the <mark style="color:blue;">**resources**</mark> folder.

#### **Step 2:&#x20;**<mark style="color:blue;">**Start Script**</mark>

Start the <mark style="color:blue;">**`fast-vehiclekeys`**</mark> resource in `server.cfg`.

```lua
ensure fast-vehiclekeys
```

#### **Step 3:&#x20;**<mark style="color:blue;">**Configuration Event**</mark>

You can use the following **exports** to interact with the vehicle keys system:

* **Set Vehicle Owner**\
  Trigger this event to set the owner of a vehicle.

  ```lua
  TriggerEvent("vehiclekeys:client:SetOwner", plate)
  ```
* **Give Temporary Key**\
  This will give a temporary key to the player for the vehicle with the specified plate.

  ```lua
  TriggerServerEvent("fast-vehiclekeys:GiveTempKey", plate)
  ```
* **Remove Temporary Key**\
  This will remove the temporary key from the player for the specified vehicle.

  ```lua
  TriggerServerEvent("fast-vehiclekeys:RemoveTempKey", plate)
  ```

#### **Additional Information**

* The `plate` refers to the vehicle's plate number (e.g., "ABC123").
* This system can be used to manage vehicle ownership and give temporary keys to other players.
