---
description: Manual Guide
---

# azakit\_vendingsystem

## INSTALLATION \[ESX/QBCore]

## 1. Resource Download

**To get started, you'll need to download your new resource previously purchased from** [**shop**](https://azakit-development.tebex.io/package/6690800)**.** For that we must log in with our account at [`keymaster`](https://keymaster.fivem.net/asset-grants/) and look for the Asset grants section, there we will find our complete package.

{% hint style="info" %}
To get updates you get them from the same website ([keymaster](https://keymaster.fivem.net/asset-grants)).
{% endhint %}

## 2. Unzip The Folder

Unzip the script folder. Add the azakit\_vendingsystem to your resources folder.

## 3. Ensure

Add _ensure_ azakit\_vendingsystem to your **server.cfg**.

{% hint style="info" %}
This should be under your essentials resources.
{% endhint %}

```
ensure azakit_vendingsystem
```

## CONFIGURATION

## 4. Configure

Configure the config.lua file present in the resource, with the help of comments to facilitate your configuration. Check: [config.lua](azakit_vendingsystem/config.lua "mention")

## 5. Create Item

Create the items in your inventory.

{% hint style="info" %}
OX Inventory Items
{% endhint %}

```
	['ecola'] = {
		label = 'ecola',
		weight = 350,
		--degrade = 4320,		
		stack = true,
		close = true,
		description = nil
		--client = {
		--	status = { thirst = 200000 },
		--	anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
		--	prop = { model = `prop_ecola_can`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
		--	usetime = 2500,
		--	notification = 'You quenched your thirst with cola'			
		--}
	},

	['sprunk'] = {
		label = 'Sprunk',
		weight = 350,
		--degrade = 4320,	
		stack = true,
		close = true,
		--client = {
		--	status = { thirst = 200000 },
		--	anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
		--	prop = { model = `prop_ld_can_01`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
		--	usetime = 2500,
		--	notification = 'You quenched your thirst with a sprunk'
		--}
	},

	['lockpick'] = {
		label = 'lockpick',
		weight = 160,
		consume = 0,		
		stack = true,
		close = true,
		description = nil
	},
```

## 6. Restart Server

Restart your game server and enjoy the system.

