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

# Installation

## Dependencies

<details>

<summary>ES EXTENDED</summary>

You will need the latest version of [es\_extended](https://github.com/ESX-Official/es_extended).

* Extract the contents of the archive to your resources folder.
* Start the resource near the top of your resources in your server.cfg.

</details>

<details>

<summary>OX_INVENTORY</summary>

Add this to ox\_inventory/data/itemslua&#x20;

```lua
	["zat-rentalpaper"] = {
		label = "zat-rentalpaper",
		weight = 1,
		stack = true,
		close = true,
	},
```

Add this to ox\_inventory\modules\items\client.lua:

```lua
Item('zat-rentalpaper', function(data, slot)
    TriggerEvent("zat-carrental:client:UseRentalPaper", slot.metadata)
end)
```

</details>

### Installing the resource

* Make sure you have the [dependencies](#dependencies) listed above installed.
* Extract the contents of the archive to your resources folder.
* Ensure zat-carrental on the server.cfg.
