> For the complete documentation index, see [llms.txt](https://docs.t1ger.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.t1ger.net/resources/t1ger-atm-robbery/installation.md).

# Installation

## 1 - Ensure Dependencies

Make sure T1GER Library is installed and the required dependencies are ensured. Please refer to [Installation](/resources/t1ger-library/installation.md).

## 2 - Get T1GER ATM Robbery

* Get the `t1ger_atmrobbery` resource from: link
* Download from: [Cfx.re Portal](https://portal.cfx.re/assets/granted-assets).

## 3 - Ensure T1GER ATM Robbery

* Unzip `t1ger_atmrobbery.zip` and `t1ger_atmprops.zip` folders and place it into your `resource` folder. You can place it in a sub-folder as well.&#x20;
* Add ensure `t1ger_atmprops` and `ensure t1ger_atmrobbery` to your server start config. <mark style="color:red;">Make sure to ensure it after all the dependencies!</mark>

<div align="left"><figure><img src="/files/cIHrCZzDK6xH1hHYsZQM" alt=""><figcaption><p>Example of my startup order in server.cfg</p></figcaption></figure></div>

## 4 - Items

{% hint style="danger" %}
If you rename items or use your own items, make sure to update inside `t1ger_atmrobbery/config.lua` with the respective item names, otherwise the script might not function.
{% endhint %}

<details>

<summary><strong>ESX</strong></summary>

1. Open your database and find the items table.
2. Run this query in your database to insert the items.

```sql
INSERT IGNORE INTO `items` (`name`, `label`) VALUES
	('t1ger_hacking_device', 'Hacking Device'),
	('t1ger_drill', 'Drill'),
	('t1ger_rope', 'Rope'),
	('t1ger_explosive', 'Explosive'),
	('t1ger_credit_card', 'Credit Card'),
	('t1ger_jack_hammer', 'Jack Hammer'),
	('t1ger_screwdriver_set', 'Screw Driver Set')
;
```

</details>

<details>

<summary><strong>QBCore</strong></summary>

1. Navigate to `qb-core/shared/items.lua` and open up the file.
2. Insert the following items into the file:

```lua
-- T1GER ATM Robbery
['t1ger_drill']				= {['name'] = 't1ger_drill',			['label'] = 'Drill',			['weight'] = 1,		['type'] = 'item',		['image'] = 't1ger_drill.png',				['unique'] = false,		['useable'] = true,		['shouldClose'] = true,		['combinable'] = nil,	['description'] = 'Drill'},
['t1ger_explosive']			= {['name'] = 't1ger_explosive', 		['label'] = 'Explosive',		['weight'] = 1,		['type'] = 'item',		['image'] = 't1ger_explosive.png',			['unique'] = false,		['useable'] = true,		['shouldClose'] = true,		['combinable'] = nil,	['description'] = 'Explosive'},
['t1ger_hacking_device']	= {['name'] = 't1ger_hacking_device',	['label'] = 'Hacking Device',	['weight'] = 1,		['type'] = 'item',		['image'] = 't1ger_hacking_device.png',		['unique'] = false,		['useable'] = true,		['shouldClose'] = true,		['combinable'] = nil,	['description'] = 'Hacking Device'},
['t1ger_rope']				= {['name'] = 't1ger_rope',				['label'] = 'Rope',				['weight'] = 1,		['type'] = 'item',		['image'] = 't1ger_rope.png',				['unique'] = false,		['useable'] = true,		['shouldClose'] = true,		['combinable'] = nil,	['description'] = 'Rope'},
['t1ger_credit_card']		= {['name'] = 't1ger_credit_card',		['label'] = 'Credit Card',		['weight'] = 1,		['type'] = 'item',		['image'] = 't1ger_credit_card.png',		['unique'] = false,		['useable'] = true,		['shouldClose'] = true,		['combinable'] = nil,	['description'] = 'Stolen Credit Card'},
['t1ger_jack_hammer']		= {['name'] = 't1ger_jack_hammer',		['label'] = 'Jack Hammer',		['weight'] = 1,		['type'] = 'item',		['image'] = 't1ger_jack_hammer.png',		['unique'] = false,		['useable'] = true,		['shouldClose'] = true,		['combinable'] = nil,	['description'] = 'Jack Hammer'},
['t1ger_screwdriver_set']	= {['name'] = 't1ger_screwdriver_set',	['label'] = 'Screw Driver Set',	['weight'] = 1,		['type'] = 'item',		['image'] = 't1ger_screwdriver_set.png',	['unique'] = false,		['useable'] = true,		['shouldClose'] = true,		['combinable'] = nil,	['description'] = 'Screw Driver Set'},
```

</details>

<details>

<summary><strong>OX Inventory</strong></summary>

1. Navigate to `ox_inventory/data/items.lua`.
2. Insert the following items into the file:

```lua
	["t1ger_drill"] = {
		label = "Drill",
		weight = 1,
		stack = true,
		close = true,
	},

	["t1ger_explosive"] = {
		label = "Explosive",
		weight = 1,
		stack = true,
		close = true,
	},

	["t1ger_hacking_device"] = {
		label = "Hacking Device",
		weight = 1,
		stack = true,
		close = true,
	},

	["t1ger_rope"] = {
		label = "Rope",
		weight = 1,
		stack = true,
		close = true,
	},

	["t1ger_credit_card"] = {
		label = "Credit Card",
		weight = 1,
		stack = true,
		close = true,
	},

	["t1ger_jack_hammer"] = {
		label = "Jack Hammer",
		weight = 1,
		stack = true,
		close = true,
	},

	["t1ger_screwdriver_set"] = {
		label = "Screw Driver Set",
		weight = 1,
		stack = true,
		close = true,
	},
```

</details>

## 5 - Configuration

#### Language

Navigate to `t1ger_atmrobbery/language.lua` to customize all strings to translate them into your preferred language.

#### Config

Navigate to `t1ger_atmrobbery/config.lua` to configure settings & options to your liking. Make sure to read the end-line comments.

## 6 - Ready

Once you are fully done, you have successfully installed T1GER ATM Robbery. Now restart your server and enjoy the resource!
