> For the complete documentation index, see [llms.txt](https://kazescripts.gitbook.io/kazescripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kazescripts.gitbook.io/kazescripts/kaze_rental/installation.md).

# Installation

Install kaze\_rental and kaze\_lib and place your first rental bay.

## Requirements

| Requirement                           |                                                                                                                                                                                            |
| ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [kaze\_lib](/kazescripts/kaze_lib.md) | **1.2.0 or newer** (free). Framework, inventory, target, keys, fuel and database support all come from kaze\_lib. See [Supported resources](/kazescripts/kaze_lib.md#supported-resources). |
| Optional                              | [kaze\_sound](/kazescripts/kaze_sound.md) for the drone and landing sounds                                                                                                                 |

{% stepper %}
{% step %}

### Add the resources

Download **kaze\_rental** and **kaze\_lib** from the Cfx.re Portal and put both folders in your `resources` directory. See Installing your assets if this is your first KazeScripts purchase.
{% endstep %}

{% step %}

### Start order in server.cfg

```cfg
ensure oxmysql
ensure kaze_lib
ensure kaze_sound   # optional
ensure kaze_rental
```

{% hint style="warning" %}
`kaze_lib` must start **before** kaze\_rental and must be version **1.2.0 or newer**.
{% endhint %}
{% endstep %}

{% step %}

### Database

The `kaze_rental_bays` table is created automatically on first start. There is nothing to import.
{% endstep %}

{% step %}

### Place your first bay

Join as an admin and run `/rentalcreator`. Click **New bay**, pick a style, type a name and press **PLACE BAY & PILLAR**. See [Creator and styles](/kazescripts/kaze_rental/creator-and-styles.md).

{% hint style="info" %}
`config.lua` ships with one example bay at Legion Square. It is added to the database on the first start. Delete it in the creator if you do not want it.
{% endhint %}
{% endstep %}

{% step %}

### Test a rental

Walk to the pillar, use the target option **Rent a car**, pick a car and pay.
{% endstep %}
{% endstepper %}
