# 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,
},
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.frozen-scripts.com/scripts/frozen-poker/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
