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

# Installation

{% hint style="danger" %}
Do not change resource name, otherwise the resource will not work!
{% endhint %}

* Ensure [dependencies](/scripts/frozen-poker/dependencies.md) are installed and running before frozen-poker
* Place script in `resources` directory
* Do the authorization inside of `cred.lua` file by following this [tutorial](/authorization/how-to-get-authorized-with-license-system.md)
* Add the item images from `INSTALLATION` directory
* #### Add item to your preferred inventory style with down below.
* Configure `config.lua` as you wish

#### ESX Inventory

```sql
INSERT INTO items (name, label, weight, rare, can_remove) VALUES ("pokertable", "Poker Table", 1, 0, 1);
```

#### QB Inventory

```lua
	['pokertable'] 			 		 = {['name'] = 'pokertable', 						['label'] = 'Poker Table', 				['weight'] = 1, 		['type'] = 'item', 		['image'] = 'pokertable.png', 			['unique'] = false, 	['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = true,   ['description'] = 'Unique poker table'},
```

#### OX Inventory

```lua
['pokertable'] = {
	label = 'Poker Table',
	weight = 100,
	stack = true,
	close = true,
},
```
