# okokContract

[**YouTube Video**](https://www.youtube.com/watch?v=8Cdhmih1Few)

## Installation Guide

**ESX**

Execute the following SQL code in your database:

```sql
INSERT INTO `items` (`name`, `label`, `weight`) VALUES ('contract', 'Contract', 1);
```

**QBCore**

Navigate to **qb-core/shared/items.lua** and add the following code to it:

```lua
['contract'] = {['name'] = 'contract', ['label'] = 'Contract', ['weight'] = 1, ['type'] = 'item', ['image'] = 'contract.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A contract'},
```

### Changing the vehicle name that appears on the contract interface

Open the `vehicles.meta` file of the desired vehicle, you should change the **\<gameName>**.

### Server artifacts

Make sure your server artifacts version is above the **5181**.

* Windows: <https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/>
* Linux: <https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/>
