---
description: >-
  Detailed explanation of the config file to adapt the resource to your player
  needs.
---

# Configuration

## Config.lua

```
Config.TimetoRefillWarehouse = 240000
```

Time needed to refill the warehouse with packages when they are empty.

```lua
Config.MaxPackages = 20
```

Max packages that player can deliver at one time.

```lua
Config.AmountToRefill = math.random(4,6)
```

The amount of packages to fill the warehouses after Config.TimetoRefillWarehouse

```lua
Config.Currency = "$"
```

you can change it to **€ ,  £ ...**

```lua
Config.UseCommand = "amazon"
```

Set it to false, if you want to disable the command and keep only the item

```lua
Config.UseItem = "amazontablet"
```

Set it to **nil**, if you don't want to use an item and just keep the caommand usage

```lua
Config.FocusButton = 'LMENU'
```

Button used to toggle the NUI Focus, if you want to change it choose one from [here](https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/)

```lua
Config.vehiclemodel = "rumpo"
```

Vehicle model to use for the delivery

```lua
Config.OnlyAmazonVehicle = false
```

Either the player can use any vehicles to deliver or only the script vehicle

```lua
Config.DelayFee = 1	
```

If time is over and the delivery failed, player will get an invoice of (_Minreward_/_Config.DelayFee_), use 0 to disable fee

```lua
Config.ShowQRCode = true
```

* false :Players use their own IRL phone to scan QRCode.
* true : Show the Code under the QRCode.

```lua
Config.Jobs = {
	[1] = 	{ coords = vector3(-913.32, 108.33, 55.51), 	minreward = 50, maxreward = 70,	 	id = "HU01 1RS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[2] = 	{ coords = vector3(-971.5, 122.11, 57.05), 	minreward = 60, maxreward = 80, 	id = "HU02 2RS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[3] = 	{ coords = vector3(-998.22, 158.19, 62.32), 	minreward = 70, maxreward = 90,		id = "HU03 3RS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[4] =	{ coords = vector3(-949.17, 196.84, 67.39), 	minreward = 80, maxreward = 100,	id = "HU04 4RS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[5] = 	{ coords = vector3(-1052.14, 432.47, 77.26), 	minreward = 90, maxreward = 110,	id = "HU05 5RS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[6] = 	{ coords = vector3(-765.72, 650.49, 145.7), 	minreward = 50, maxreward = 70,		id = "HU06 6RS", 	delay = 1, started = false, qrcode = math.random(111,999)},	
	[7] = 	{ coords = vector3(-6.41, 409.06, 120.45), 	minreward = 60, maxreward = 80,		id = "HU07 7RS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[8] = 	{ coords = vector3(143.45, -280.61, 50.45), 	minreward = 70, maxreward = 90,		id = "HU08 8RS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[9] = 	{ coords = vector3(-1179.51, -929.1, 6.99), 	minreward = 80, maxreward = 100,	id = "HU09 9RS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[10] = 	{ coords = vector3(-812.9, -980.8, 14.16), 	minreward = 90, maxreward = 110,	id = "HU10 1TS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[11] = 	{ coords = vector3(-706.18, -1036.32, 16.42), 	minreward = 50, maxreward = 70,		id = "HU11 2TS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[12] = 	{ coords = vector3(-604.35, -802.36, 25.4), 	minreward = 60, maxreward = 80,		id = "HU12 3TS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[13] = 	{ coords = vector3(115.77, -271.42, 50.51), 	minreward = 70, maxreward = 90,		id = "HU13 4TS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[14] = 	{ coords = vector3(-603.97, -774.16, 25.4), 	minreward = 80, maxreward = 100,	id = "HU14 5TS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[15] = 	{ coords = vector3(-1160.78, -1101.98, 6.53), 	minreward = 90, maxreward = 110,	id = "HU15 6TS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[16] = 	{ coords = vector3(-1252.83, -1144.52, 8.51), 	minreward = 50, maxreward = 70,		id = "HU16 7TS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[17] = 	{ coords = vector3(-1254.04, -1140.72, 8.57),	minreward = 60, maxreward = 80,		id = "HU17 8TS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[18] =	{ coords = vector3(-1262.01, -1123.76, 7.9), 	minreward = 70, maxreward = 90,		id = "HU18 9TS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[19] = 	{ coords = vector3(-1800.04, -667.28, 10.6), 	minreward = 80, maxreward = 100,	id = "HU19 1US", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[20] = 	{ coords = vector3(-1777.0, -701.55, 10.52), 	minreward = 90, maxreward = 110,	id = "HU20 2US", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[21] = 	{ coords = vector3(-1754.05, -708.87, 10.4), 	minreward = 50, maxreward = 70,		id = "HU21 4US", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[22] = 	{ coords = vector3(-1667.69, -441.06, 40.36), 	minreward = 60, maxreward = 80,		id = "HU22 5US", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[23] = 	{ coords = vector3(-1643.18, -411.8, 42.08), 	minreward = 70, maxreward = 90,		id = "HU23 6US", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[24] = 	{ coords = vector3(-1622.84, -379.77, 43.72), 	minreward = 80, maxreward = 100,	id = "HU24 7US", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[25] = 	{ coords = vector3(-1597.12, -352.07, 45.98), 	minreward = 90, maxreward = 110,	id = "HU25 8US", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[26] = 	{ coords = vector3(-1533.26, -275.34, 49.74), 	minreward = 50, maxreward = 70,		id = "HU26 9US", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[27] = 	{ coords = vector3(-1583.69, -265.85, 48.28), 	minreward = 60, maxreward = 80,		id = "HU27 1VS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[28] = 	{ coords = vector3(-1582.46, -278.11, 48.28), 	minreward = 70, maxreward = 90,		id = "HU28 2VS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[29] = 	{ coords = vector3(-1560.5, -285.38, 48.28), 	minreward = 80, maxreward = 100,	id = "HU29 3VS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[30] = 	{ coords = vector3(-1533.6, -326.82, 47.91), 	minreward = 90, maxreward = 110,	id = "HU30 4VS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[31] = 	{ coords = vector3(-306.24, -125.26, 45.8), 	minreward = 50, maxreward = 70,		id = "HU29 5VS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[32] = 	{ coords = vector3(-327.16, -254.48, 34.39), 	minreward = 60, maxreward = 80,		id = "HU30 6VS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[33] = 	{ coords = vector3(20.48, -1505.51, 31.85), 	minreward = 70, maxreward = 90,		id = "HU31 7VS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[34] = 	{ coords = vector3(1223.04, -696.87, 60.8), 	minreward = 80, maxreward = 100,	id = "HU32 8VS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[35] = 	{ coords = vector3(1221.59, -669.28, 63.69), 	minreward = 90, maxreward = 110,	id = "HU33 9VS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[36] = 	{ coords = vector3(1250.98, -620.89, 69.57), 	minreward = 50, maxreward = 70,		id = "HU34 1WS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[37] = 	{ coords = vector3(1241.26, -566.3, 69.66), 	minreward = 60, maxreward = 80,		id = "HU35 3WS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[38] = 	{ coords = vector3(1204.89, -557.68, 69.62), 	minreward = 70, maxreward = 90,		id = "HU36 4WS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[39] = 	{ coords = vector3(1250.84, -515.46, 69.35), 	minreward = 80, maxreward = 100,	id = "HU37 5WS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[40] = 	{ coords = vector3(1251.48, -494.34, 69.91), 	minreward = 90, maxreward = 110,	id = "HU38 6WS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[41] = 	{ coords = vector3(1259.54, -480.11, 70.19), 	minreward = 50, maxreward = 70,		id = "HU39 7WS", 	delay = 1, started = false, qrcode = math.random(111,999)},
	[42] = 	{ coords = vector3(1265.74, -458.01, 70.52), 	minreward = 60, maxreward = 80,		id = "HU40 8WS", 	delay = 1, started = false, qrcode = math.random(111,999)},
}
```

* coords : Delivery coords (door to deliver to, you can change it anytime.)
* minreward : Minimum reward to that delivery&#x20;
* maxreward : The max reward you can get (minreward + tips)
* id : Random string&#x20;
* delay : The delivery ends after "delay" hours (change it to 1, 2, 3, 4) !! use only integer !!&#x20;
* started : Keep it to false&#x20;
* qrcode : Keep it like it is

```lua
Config.Warehouses = {
	[1] = {coords = vector3(-1151.82, -2170.72, 13.27), 	packages = 6, id = "WH01 1RS", pickedup = false, vehicle = vector4(-1155.71, -2174.71, 12.98, 136.67), 	active = true},
	[2] = {coords = vector3(-1098.68, -2224.83, 13.22), 	packages = 5, id = "WH02 2RS", pickedup = false, vehicle = vector4(-1094.50, -2221.16, 13.01, 314.07), 	active = true},
	[3] = {coords = vector3(-1088.77, -2235.03, 13.22), 	packages = 4, id = "WH03 3RS", pickedup = false, vehicle = vector4(-1084.81, -2230.38, 13.01, 315.45), 	active = true},
	[4] = {coords = vector3(-1057.03, -2004.02, 13.16), 	packages = 6, id = "WH04 4RS", pickedup = false, vehicle = vector4(-1061.49, -2008.24, 12.93, 133.33), 	active = true},
	[5] = {coords = vector3(-1053.35, -2007.76, 13.16), 	packages = 5, id = "WH05 5RS", pickedup = false, vehicle = vector4(-1057.29, -2012.37, 12.93, 135.49), 	active = true},
	[6] = {coords = vector3(-1046.15, -2015.05, 13.16), 	packages = 4, id = "WH06 6RS", pickedup = false, vehicle = vector4(-1049.41, -2019.04, 12.92, 135.21), 	active = true},
	[7] = {coords = vector3(-1042.41, -2018.72, 13.16), 	packages = 6, id = "WH07 7RS", pickedup = false, vehicle = vector4(-1047.22, -2023.60, 12.92, 134.76), 	active = true},
	[8] = {coords = vector3(-1099.03, -2058.1, 13.29), 	packages = 5, id = "WH08 8RS", pickedup = false, vehicle = vector4(-1094.70, -2053.33, 13.05, 318.69), 	active = true},
	[9] = {coords = vector3(-1109.74, -2047.51, 13.29), 	packages = 4, id = "WH09 9RS", pickedup = false, vehicle = vector4(-1104.79, -2042.74, 13.05, 314.61), 	active = true},
}

```

* coords : Warehouse coords (qb-target)&#x20;
* packages : amount of packages on the warehouse
* id : Random string&#x20;
* pickedup : Keep it to false&#x20;
* vehicle : coords for vehicle&#x20;
* active : Keep it to true
