# Installation

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

* Ensure [dependencies](https://docs.frozen-scripts.com/scripts/frozen-poker/dependencies) are installed and running before frozen-poker
* Place script in `resources` directory
* Do the authorization inside of `cred.lua` file by following this [tutorial](https://docs.frozen-scripts.com/authorization)
* 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,
},
```
