# Installation

## Items Installation

{% tabs %}
{% tab title="qb-core/shared/items.lua" %}

```lua
['prop_gazebo_01']       = { ['name'] = 'prop_gazebo_01',       ['label'] = 'Gazebo',             ['weight'] = 50, ['type'] = 'item', ['image'] = 'prop_gazebo_01.png',       ['unique'] = true,  ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },
['prop_gazebo_02']       = { ['name'] = 'prop_gazebo_02',       ['label'] = 'Gazebo',             ['weight'] = 50, ['type'] = 'item', ['image'] = 'prop_gazebo_02.png',       ['unique'] = true,  ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },
['prop_skid_tent_03']    = { ['name'] = 'prop_skid_tent_03',    ['label'] = 'Tent',               ['weight'] = 50, ['type'] = 'item', ['image'] = 'prop_skid_tent_03.png',    ['unique'] = true,  ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },
['prop_skid_tent_cloth'] = { ['name'] = 'prop_skid_tent_cloth', ['label'] = 'Tent',               ['weight'] = 50, ['type'] = 'item', ['image'] = 'prop_skid_tent_cloth.png', ['unique'] = true,  ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },
['prop_table_03b']       = { ['name'] = 'prop_table_03b',       ['label'] = 'Table',              ['weight'] = 50, ['type'] = 'item', ['image'] = 'prop_table_03b.png',       ['unique'] = true,  ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },
['prop_chair_08']        = { ['name'] = 'prop_chair_08',        ['label'] = 'Chair',              ['weight'] = 50, ['type'] = 'item', ['image'] = 'prop_chair_08.png',        ['unique'] = true,  ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },
['prop_beach_fire']      = { ['name'] = 'prop_beach_fire',      ['label'] = 'Bonfire',            ['weight'] = 50, ['type'] = 'item', ['image'] = 'prop_beach_fire.png',      ['unique'] = true,  ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },
['prop_weed_tub_01b']    = { ['name'] = 'prop_weed_tub_01b',    ['label'] = 'Box',                ['weight'] = 50, ['type'] = 'item', ['image'] = 'prop_weed_tub_01b.png',    ['unique'] = true,  ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },

['grilled_burger_meat']  = { ['name'] = 'grilled_burger_meat',  ['label'] = 'Grilled Burger',     ['weight'] = 50, ['type'] = 'item', ['image'] = 'grilled_burger_meat.png',  ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },
['grilled_meat']         = { ['name'] = 'grilled_meat',         ['label'] = 'Grilled Meat',       ['weight'] = 50, ['type'] = 'item', ['image'] = 'grilled_meat.png',         ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },
['grilled_fish']         = { ['name'] = 'grilled_fish',         ['label'] = 'Grilled Fish',       ['weight'] = 50, ['type'] = 'item', ['image'] = 'grilled_fish.png',         ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },
['grilled_bacon_eggs']   = { ['name'] = 'grilled_bacon_eggs',   ['label'] = 'Grilled Bacon & Eggs',['weight'] = 50, ['type'] = 'item', ['image'] = 'grilled_bacon_eggs.png',   ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },

['raw_burger']           = { ['name'] = 'raw_burger',           ['label'] = 'Raw Burger',         ['weight'] = 50, ['type'] = 'item', ['image'] = 'raw_burger.png',           ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },
['raw_meat']             = { ['name'] = 'raw_meat',             ['label'] = 'Raw Meat',           ['weight'] = 50, ['type'] = 'item', ['image'] = 'raw_meat.png',             ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },
['raw_fish']             = { ['name'] = 'raw_fish',             ['label'] = 'Raw Fish',           ['weight'] = 50, ['type'] = 'item', ['image'] = 'raw_fish.png',             ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },
['bacon_pieces']         = { ['name'] = 'bacon_pieces',         ['label'] = 'Bacon Pieces',       ['weight'] = 50, ['type'] = 'item', ['image'] = 'bacon_pieces.png',         ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },

['cowhide']              = { ['name'] = 'cowhide',              ['label'] = 'Cow Hide',           ['weight'] = 50, ['type'] = 'item', ['image'] = 'cowhide.png',              ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },
['milk']                 = { ['name'] = 'milk',                 ['label'] = 'Milk',               ['weight'] = 50, ['type'] = 'item', ['image'] = 'milk.png',                 ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '' },
```

{% endtab %}

{% tab title="ox\_inventory/data/items.lua" %}

```lua
["prop_gazebo_01"] = { label = "Gazebo", weight = 50, stack = false, close = true, description = "", client = { image = "prop_gazebo_01.png" }, },
["prop_gazebo_02"] = { label = "Gazebo", weight = 50, stack = false, close = true, description = "", client = { image = "prop_gazebo_02.png" }, },
["prop_skid_tent_03"] = { label = "Tent", weight = 50, stack = false, close = true, description = "", client = { image = "prop_skid_tent_03.png" }, },
["prop_skid_tent_cloth"] = { label = "Tent", weight = 50, stack = false, close = true, description = "", client = { image = "prop_skid_tent_cloth.png" }, },
["prop_table_03b"] = { label = "Table", weight = 50, stack = false, close = true, description = "", client = { image = "prop_table_03b.png" }, },
["prop_chair_08"] = { label = "Chair", weight = 50, stack = false, close = true, description = "", client = { image = "prop_chair_08.png" }, },
["prop_beach_fire"] = { label = "Bonfire", weight = 50, stack = false, close = true, description = "", client = { image = "prop_beach_fire.png" }, },
["prop_weed_tub_01b"] = { label = "Box", weight = 50, stack = false, close = true, description = "", client = { image = "prop_weed_tub_01b.png" }, },

["grilled_burger_meat"] = { label = "Grilled Burger", weight = 50, stack = true, close = true, description = "", client = { image = "grilled_burger_meat.png" }, },
["grilled_meat"] = { label = "Grilled Meat", weight = 50, stack = true, close = true, description = "", client = { image = "grilled_meat.png" }, },
["grilled_fish"] = { label = "Grilled Fish", weight = 50, stack = true, close = true, description = "", client = { image = "grilled_fish.png" }, },
["grilled_bacon_eggs"] = { label = "Grilled Bacon & Eggs", weight = 50, stack = true, close = true, description = "", client = { image = "grilled_bacon_eggs.png" }, },

["raw_burger"] = { label = "Raw Burger", weight = 50, stack = true, close = true, description = "", client = { image = "raw_burger.png" }, },
["raw_meat"] = { label = "Raw Meat", weight = 50, stack = true, close = true, description = "", client = { image = "raw_meat.png" }, },
["raw_fish"] = { label = "Raw Fish", weight = 50, stack = true, close = true, description = "", client = { image = "raw_fish.png" }, },
["bacon_pieces"] = { label = "Bacon Pieces", weight = 50, stack = true, close = true, description = "", client = { image = "bacon_pieces.png" }, },

["cowhide"] = { label = "Cow Hide", weight = 50, stack = true, close = true, description = "", client = { image = "cowhide.png" }, },
["milk"] = { label = "Milk", weight = 50, stack = true, close = true, description = "", client = { image = "milk.png" }, },
```

{% endtab %}
{% endtabs %}

## Database Installation

{% hint style="warning" %}
Before you install this database code, you have on option on config.lua to run this automatic.
{% endhint %}

```sql
CREATE TABLE IF NOT EXISTS `m_camping` (
  `id` varchar(255) NOT NULL,
  `owner_id` varchar(50) NOT NULL DEFAULT '',
  `coords` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`coords`)),
  `prop_name` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
```


---

# 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://mscripts.gitbook.io/docs/both-framework/scripts/camping/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.
