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

# Rentals

## Installation

1. Download latest update from [Keymaster](https://keymaster.fivem.net)
2. Add below code to **server.cfg**&#x20;

```
ensure paradise_rentals
```

* Sql Installation&#x20;

```
CREATE TABLE IF NOT EXISTS `paradise_vehicle_rentals` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `citizenid` varchar(50) NOT NULL,
    `plate` varchar(15) NOT NULL,
    `model` varchar(50) NOT NULL,
    `end_time` int(11) NOT NULL,
    `stored` tinyint(1) DEFAULT 0,
    PRIMARY KEY (`id`),
    UNIQUE KEY `plate` (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
```

* Item Installation

```
	["rental_papers"] = {
		label = "Rental papers",
		weight = 100,
		stack = false,
		close = true,
		description = "Rental papers for your vehicle.",
		client = {
			image = "rentalpapers.png",
		}
	},
```

**Dependencies**

* [QBOX](https://github.com/Qbox-project) / [QBCore](https://github.com/qbcore-framework)
* [ox\_inventory](https://github.com/overextended/ox_inventory)
* [ox\_target](https://github.com/overextended/ox_target) / [qb-target](https://github.com/qbcore-framework/qb-target)
* [ox\_lib](https://github.com/overextended/ox_lib)
* [oxmysql](https://github.com/overextended/oxmysql)
* [server artifacts](https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/) (Make Sure Its Up to Date)
