---
description: 'Follow these steps for flawless instalation:'
---

# Installation Guide

1. Download the script from your [keymaster](https://keymaster.fivem.net/login?return_url=/).\

2. Place the script into your server resource folder:\
   &#xNAN;_`FXServer\server-data\resources\fivecode_camping`_\

3. Write the script into your server.cfg:\
   &#xNAN;_`ensure fivecode_camping`_\

4. Setup your inventory:

<details>

<summary><strong>ox</strong></summary>

Add the following into:\
&#xNAN;_`ox_inventory\modules\items\client.lua`_

```lua
local campingItems = {'campfire', 'campingchair', 'campingtent', 'campingsleepingbag', 'campingshower', 'campingcooler', 'campingbeerbarrel'}
for _, item in pairs(campingItems) do
    Item(item, function(data, slot)
	TriggerEvent('fivecode_camping:place', data.name)
    end)
end

local usableFoodItems = {'fullbeercup', 'cookedsmores', 'cookedmeat'}
for _, item in pairs(usableFoodItems) do
   Item(item, function(data, slot)
	TriggerEvent('fivecode_camping:useFoodItem', data.name)
    end)
end
```

and this into:\
&#xNAN;_`ox_inventory\data\items.lua`_

<pre class="language-lua"><code class="lang-lua">['campfire'] = {
    label = 'Campfire',
    weight = 1,
    stack = true,
    close = true,
    description = 'Campfire in witch you can cook.'
},

['campingchair'] = {
    label = 'Chair',
    weight = 1,
    stack = true,
    close = true,
    description = 'Camping chair in which you can sit.'
},

['campingtent'] = {
    label = 'Tent',
    weight = 1,
    stack = true,
    close = true,
    description = 'Camping tent in which you can store items or hide.'
},

['campingsleepingbag'] = {
    label = 'Sleeping Bag',
    weight = 1,
    stack = true,
    close = true,
    description = 'Camping sleeping bag in which you can sleep.'
},

['campingshower'] = {
    label = 'Shower',
    weight = 1,
    stack = true,
    close = true,
    description = 'Camping shower in which you can clean yourself.'
},

['campingcooler'] = {
    label = 'Cooler',
    weight = 1,
    stack = true,
    close = true,
    description = 'Camping cooler in which you can keep your drinks cold.'
},

['campingbeerbarrel'] = {
    label = 'Beer Barrel',
    weight = 1,
    stack = true,
    close = true,
    description = 'Camping beer barrel from which you can fill your cup.'
},

<strong>-- Optional Items (If you decide to not use them change them in config.lua)
</strong>
['codelock'] = {
    label = 'Codelock',
    weight = 1,
    stack = true,
    close = true,
    description = 'Codelock for locking your tent or cooler.'
},

['rawmeat'] = {
    label = 'Raw Meat',
    weight = 1,
    stack = true,
    close = true,
    description = 'Raw meat that you can cook on an campfire.'
},

['cookedmeat'] = {
    label = 'Cooked Meat',
    weight = 1,
    stack = true,
    close = true,
    description = 'Cooked meat.'
},

['smores'] = {
    label = 'Smores',
    weight = 1,
    stack = true,
    close = true,
    description = 'Smores.'
},

['cookedsmores'] = {
    label = 'Cooked Smores',
    weight = 1,
    stack = true,
    close = true,
    description = 'Cooked smores.'
},

['emptybeercup'] = {
    label = 'Empty Cup',
    weight = 1,
    stack = true,
    close = true,
    description = 'Empty beer cup.'
},

['fullbeercup'] = {
    label = 'Full Cup',
    weight = 1,
    stack = true,
    close = true,
    description = 'Full beer cup.'
},

['matches'] = {
    label = 'Matches',
    weight = 1,
    stack = true,
    close = true,
    description = 'Matches for lighting up an campfire.'
},

['lighter'] = {
    label = 'Lighter',
    weight = 1,
    stack = true,
    close = true,
    description = 'Lighter for lighting up an campfire.'
},
</code></pre>

</details>

<details>

<summary><strong>qb</strong></summary>

Add the following into:\
&#xNAN;_`qb-core\shared\items.lua`_

```lua
campfire               = {name = 'campfire',               label = 'Campfire',               weight = 1,   type = 'item',  image = 'campfire.png',               unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Campfire in which you can cook.'},
campingchair           = {name = 'campingchair',           label = 'Chair',                  weight = 1,   type = 'item',  image = 'campingchair.png',           unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping chair in which you can sit.'},
campingtent            = {name = 'campingtent',            label = 'Tent',                   weight = 1,   type = 'item',  image = 'campingtent.png',            unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping tent in which you can store items or hide.'},
campingsleepingbag     = {name = 'campingsleepingbag',     label = 'Sleeping Bag',           weight = 1,   type = 'item',  image = 'campingsleepingbag.png',     unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping sleeping bag in which you can sleep.'},
campingshower          = {name = 'campingshower',          label = 'Shower',                 weight = 1,   type = 'item',  image = 'campingshower.png',          unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping shower in which you can clean yourself.'},
campingcooler          = {name = 'campingcooler',          label = 'Cooler',                 weight = 1,   type = 'item',  image = 'campingcooler.png',          unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping cooler in which you can keep your drinks cold.'},
campingbeerbarrel      = {name = 'campingbeerbarrel',      label = 'Beer Barrel',            weight = 1,   type = 'item',  image = 'campingbeerbarrel.png',      unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping beer barrel from which you can fill your cup.'},
codelock               = {name = 'codelock',               label = 'Codelock',               weight = 1,   type = 'item',  image = 'rawmeat.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Codelock for locking your tent or cooler.'},
rawmeat                = {name = 'rawmeat',                label = 'Raw Meat',               weight = 1,   type = 'item',  image = 'rawmeat.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Raw meat that you can cook on a campfire.'},
cookedmeat             = {name = 'cookedmeat',             label = 'Cooked Meat',            weight = 1,   type = 'item',  image = 'cookedmeat.png',             unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Cooked meat.'},
smores                 = {name = 'smores',                 label = 'Smores',                 weight = 1,   type = 'item',  image = 'smores.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Smores.'},
cookedsmores           = {name = 'cookedsmores',           label = 'Cooked Smores',          weight = 1,   type = 'item',  image = 'cookedsmores.png',           unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Cooked smores.'},
emptybeercup           = {name = 'emptybeercup',           label = 'Empty Cup',              weight = 1,   type = 'item',  image = 'emptybeercup.png',           unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Empty Beer Cup.'},
fullbeercup            = {name = 'fullbeercup',            label = 'Full Cup',               weight = 1,   type = 'item',  image = 'fullbeercup.png',            unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Full Beer Cup.'},
matches                = {name = 'matches',                label = 'Matches',                weight = 1,   type = 'item',  image = 'matches.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Matches for lighting up a campfire.'},
lighter                = {name = 'lighter',                label = 'Lighter',                weight = 1,   type = 'item',  image = 'lighter.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Lighter for lighting up a campfire.'},
```

</details>

<details>

<summary><strong>qs</strong></summary>

Add the following into:\
&#xNAN;_`qs-inventory\shared\items.lua`_

```lua
['campfire']              = {name = 'campfire',              label = 'Campfire',              weight = 1,   type = 'item',  image = 'campfire.png',              unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Campfire in which you can cook.'},
['campingchair']          = {name = 'campingchair',          label = 'Chair',                 weight = 1,   type = 'item',  image = 'campingchair.png',          unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Camping chair in which you can sit.'},
['campingtent']           = {name = 'campingtent',           label = 'Tent',                  weight = 1,   type = 'item',  image = 'campingtent.png',           unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Camping tent in which you can store items or hide.'},
['campingsleepingbag']    = {name = 'campingsleepingbag',    label = 'Sleeping Bag',          weight = 1,   type = 'item',  image = 'campingsleepingbag.png',    unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Camping sleeping bag in which you can sleep.'},
['campingshower']         = {name = 'campingshower',         label = 'Shower',                weight = 1,   type = 'item',  image = 'campingshower.png',         unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Camping shower in which you can clean yourself.'},
['campingcooler']         = {name = 'campingcooler',         label = 'Cooler',                weight = 1,   type = 'item',  image = 'campingcooler.png',         unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Camping cooler in which you can keep your drinks cold.'},
['campingbeerbarrel']     = {name = 'campingbeerbarrel',     label = 'Beer Barrel',           weight = 1,   type = 'item',  image = 'campingbeerbarrel.png',     unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Camping beer barrel from which you can fill your cup.'},
['codelock']              = {name = 'codelock',              label = 'Codelock',              weight = 1,   type = 'item',  image = 'rawmeat.png',               unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Codelock for locking your tent or cooler.'},
['rawmeat']               = {name = 'rawmeat',               label = 'Raw Meat',              weight = 1,   type = 'item',  image = 'rawmeat.png',               unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Raw meat that you can cook on a campfire.'},
['cookedmeat']            = {name = 'cookedmeat',            label = 'Cooked Meat',           weight = 1,   type = 'item',  image = 'cookedmeat.png',            unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Cooked meat.'},
['smores']                = {name = 'smores',                label = 'Smores',                weight = 1,   type = 'item',  image = 'smores.png',                unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Smores.'},
['cookedsmores']          = {name = 'cookedsmores',          label = 'Cooked Smores',         weight = 1,   type = 'item',  image = 'cookedsmores.png',          unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Cooked smores.'},
['emptybeercup']          = {name = 'emptybeercup',          label = 'Empty Cup',             weight = 1,   type = 'item',  image = 'emptybeercup.png',          unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Empty Beer Cup.'},
['fullbeercup']           = {name = 'fullbeercup',           label = 'Full Cup',              weight = 1,   type = 'item',  image = 'fullbeercup.png',           unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Full Beer Cup.'},
['matches']               = {name = 'matches',               label = 'Matches',               weight = 1,   type = 'item',  image = 'matches.png',               unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Matches for lighting up a campfire.'},
['lighter']               = {name = 'lighter',               label = 'Lighter',               weight = 1,   type = 'item',  image = 'lighter.png',               unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Lighter for lighting up a campfire.'},
```

</details>

<details>

<summary><strong>ps</strong></summary>

Add the following into:\
&#xNAN;_`qb-core\shared\items.lua`_

```lua
campfire               = {name = 'campfire',               label = 'Campfire',               weight = 1,   type = 'item',  image = 'campfire.png',               unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Campfire in which you can cook.'},
campingchair           = {name = 'campingchair',           label = 'Chair',                  weight = 1,   type = 'item',  image = 'campingchair.png',           unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping chair in which you can sit.'},
campingtent            = {name = 'campingtent',            label = 'Tent',                   weight = 1,   type = 'item',  image = 'campingtent.png',            unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping tent in which you can store items or hide.'},
campingsleepingbag     = {name = 'campingsleepingbag',     label = 'Sleeping Bag',           weight = 1,   type = 'item',  image = 'campingsleepingbag.png',     unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping sleeping bag in which you can sleep.'},
campingshower          = {name = 'campingshower',          label = 'Shower',                 weight = 1,   type = 'item',  image = 'campingshower.png',          unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping shower in which you can clean yourself.'},
campingcooler          = {name = 'campingcooler',          label = 'Cooler',                 weight = 1,   type = 'item',  image = 'campingcooler.png',          unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping cooler in which you can keep your drinks cold.'},
campingbeerbarrel      = {name = 'campingbeerbarrel',      label = 'Beer Barrel',            weight = 1,   type = 'item',  image = 'campingbeerbarrel.png',      unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping beer barrel from which you can fill your cup.'},
codelock               = {name = 'codelock',               label = 'Codelock',               weight = 1,   type = 'item',  image = 'rawmeat.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Codelock for locking your tent or cooler.'},
rawmeat                = {name = 'rawmeat',                label = 'Raw Meat',               weight = 1,   type = 'item',  image = 'rawmeat.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Raw meat that you can cook on a campfire.'},
cookedmeat             = {name = 'cookedmeat',             label = 'Cooked Meat',            weight = 1,   type = 'item',  image = 'cookedmeat.png',             unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Cooked meat.'},
smores                 = {name = 'smores',                 label = 'Smores',                 weight = 1,   type = 'item',  image = 'smores.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Smores.'},
cookedsmores           = {name = 'cookedsmores',           label = 'Cooked Smores',          weight = 1,   type = 'item',  image = 'cookedsmores.png',           unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Cooked smores.'},
emptybeercup           = {name = 'emptybeercup',           label = 'Empty Cup',              weight = 1,   type = 'item',  image = 'emptybeercup.png',           unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Empty Beer Cup.'},
fullbeercup            = {name = 'fullbeercup',            label = 'Full Cup',               weight = 1,   type = 'item',  image = 'fullbeercup.png',            unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Full Beer Cup.'},
matches                = {name = 'matches',                label = 'Matches',                weight = 1,   type = 'item',  image = 'matches.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Matches for lighting up a campfire.'},
lighter                = {name = 'lighter',                label = 'Lighter',                weight = 1,   type = 'item',  image = 'lighter.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Lighter for lighting up a campfire.'},
```

</details>

<details>

<summary><strong>codem</strong></summary>

Add the following into:\
&#xNAN;_`codem-inventory\config\itemlist.lua`_

```lua
campfire               = {name = 'campfire',               label = 'Campfire',               weight = 1,   type = 'item',  image = 'campfire.png',               unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Campfire in which you can cook.'},
campingchair           = {name = 'campingchair',           label = 'Chair',                  weight = 1,   type = 'item',  image = 'campingchair.png',           unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping chair in which you can sit.'},
campingtent            = {name = 'campingtent',            label = 'Tent',                   weight = 1,   type = 'item',  image = 'campingtent.png',            unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping tent in which you can store items or hide.'},
campingsleepingbag     = {name = 'campingsleepingbag',     label = 'Sleeping Bag',           weight = 1,   type = 'item',  image = 'campingsleepingbag.png',     unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping sleeping bag in which you can sleep.'},
campingshower          = {name = 'campingshower',          label = 'Shower',                 weight = 1,   type = 'item',  image = 'campingshower.png',          unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping shower in which you can clean yourself.'},
campingcooler          = {name = 'campingcooler',          label = 'Cooler',                 weight = 1,   type = 'item',  image = 'campingcooler.png',          unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping cooler in which you can keep your drinks cold.'},
campingbeerbarrel      = {name = 'campingbeerbarrel',      label = 'Beer Barrel',            weight = 1,   type = 'item',  image = 'campingbeerbarrel.png',      unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping beer barrel from which you can fill your cup.'},
codelock               = {name = 'codelock',               label = 'Codelock',               weight = 1,   type = 'item',  image = 'rawmeat.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Codelock for locking your tent or cooler.'},
rawmeat                = {name = 'rawmeat',                label = 'Raw Meat',               weight = 1,   type = 'item',  image = 'rawmeat.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Raw meat that you can cook on a campfire.'},
cookedmeat             = {name = 'cookedmeat',             label = 'Cooked Meat',            weight = 1,   type = 'item',  image = 'cookedmeat.png',             unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Cooked meat.'},
smores                 = {name = 'smores',                 label = 'Smores',                 weight = 1,   type = 'item',  image = 'smores.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Smores.'},
cookedsmores           = {name = 'cookedsmores',           label = 'Cooked Smores',          weight = 1,   type = 'item',  image = 'cookedsmores.png',           unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Cooked smores.'},
emptybeercup           = {name = 'emptybeercup',           label = 'Empty Cup',              weight = 1,   type = 'item',  image = 'emptybeercup.png',           unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Empty Beer Cup.'},
fullbeercup            = {name = 'fullbeercup',            label = 'Full Cup',               weight = 1,   type = 'item',  image = 'fullbeercup.png',            unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Full Beer Cup.'},
matches                = {name = 'matches',                label = 'Matches',                weight = 1,   type = 'item',  image = 'matches.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Matches for lighting up a campfire.'},
lighter                = {name = 'lighter',                label = 'Lighter',                weight = 1,   type = 'item',  image = 'lighter.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Lighter for lighting up a campfire.'},
```

</details>

<details>

<summary><strong>core</strong></summary>

Add the following into your database:

<pre class="language-sql"><code class="lang-sql">INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`, `desc`) VALUES
    ('campfire', 'Campfire', 1, 0, 1, NULL),
    ('campingchair', 'Chair', 1, 0, 1, NULL),
    ('campingtent', 'Tent', 1, 0, 1, NULL),
    ('campingsleepingbag', 'Sleeping Bag', 1, 0, 1, NULL),
    ('campingshower', 'Shower', 1, 0, 1, NULL),
    ('campingcooler', 'Cooler', 1, 0, 1, NULL),
    ('campingbeerbarrel', 'Beer Barrel', 1, 0, 1, NULL);

<strong>-- Optional Items (If you decide to not use them change them in config.lua)
</strong>
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`, `desc`) VALUES
    ('codelock', 'Codelock', 1, 0, 1, NULL),
    ('rawmeat', 'Raw Meat', 1, 0, 1, NULL),
    ('cookedmeat', 'Cooked Meat', 1, 0, 1, NULL),
    ('smores', 'Smores', 1, 0, 1, NULL),
    ('cookedsmores', 'Cooked Smores', 1, 0, 1, NULL),
    ('emptybeercup', 'Empty Cup', 1, 0, 1, NULL),
    ('fullbeercup', 'Full Cup', 1, 0, 1, NULL),
    ('matches', 'Matches', 1, 0, 1, NULL),
    ('lighter', 'Lighter', 1, 0, 1, NULL);
</code></pre>

</details>

<details>

<summary><strong>origen</strong></summary>

Add the following into:\
&#xNAN;_`origen_inventory\config\items.lua`_

```lua
['campfire']              = {name = 'campfire',              label = 'Campfire',              weight = 1,   type = 'item',  image = 'campfire.png',              unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Campfire in which you can cook.'},
['campingchair']          = {name = 'campingchair',          label = 'Chair',                 weight = 1,   type = 'item',  image = 'campingchair.png',          unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Camping chair in which you can sit.'},
['campingtent']           = {name = 'campingtent',           label = 'Tent',                  weight = 1,   type = 'item',  image = 'campingtent.png',           unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Camping tent in which you can store items or hide.'},
['campingsleepingbag']    = {name = 'campingsleepingbag',    label = 'Sleeping Bag',          weight = 1,   type = 'item',  image = 'campingsleepingbag.png',    unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Camping sleeping bag in which you can sleep.'},
['campingshower']         = {name = 'campingshower',         label = 'Shower',                weight = 1,   type = 'item',  image = 'campingshower.png',         unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Camping shower in which you can clean yourself.'},
['campingcooler']         = {name = 'campingcooler',         label = 'Cooler',                weight = 1,   type = 'item',  image = 'campingcooler.png',         unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Camping cooler in which you can keep your drinks cold.'},
['campingbeerbarrel']     = {name = 'campingbeerbarrel',     label = 'Beer Barrel',           weight = 1,   type = 'item',  image = 'campingbeerbarrel.png',     unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Camping beer barrel from which you can fill your cup.'},
['codelock']              = {name = 'codelock',              label = 'Codelock',              weight = 1,   type = 'item',  image = 'rawmeat.png',               unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Codelock for locking your tent or cooler.'},
['rawmeat']               = {name = 'rawmeat',               label = 'Raw Meat',              weight = 1,   type = 'item',  image = 'rawmeat.png',               unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Raw meat that you can cook on a campfire.'},
['cookedmeat']            = {name = 'cookedmeat',            label = 'Cooked Meat',           weight = 1,   type = 'item',  image = 'cookedmeat.png',            unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Cooked meat.'},
['smores']                = {name = 'smores',                label = 'Smores',                weight = 1,   type = 'item',  image = 'smores.png',                unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Smores.'},
['cookedsmores']          = {name = 'cookedsmores',          label = 'Cooked Smores',         weight = 1,   type = 'item',  image = 'cookedsmores.png',          unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Cooked smores.'},
['emptybeercup']          = {name = 'emptybeercup',          label = 'Empty Cup',             weight = 1,   type = 'item',  image = 'emptybeercup.png',          unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Empty Beer Cup.'},
['fullbeercup']           = {name = 'fullbeercup',           label = 'Full Cup',              weight = 1,   type = 'item',  image = 'fullbeercup.png',           unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Full Beer Cup.'},
['matches']               = {name = 'matches',               label = 'Matches',               weight = 1,   type = 'item',  image = 'matches.png',               unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Matches for lighting up a campfire.'},
['lighter']               = {name = 'lighter',               label = 'Lighter',               weight = 1,   type = 'item',  image = 'lighter.png',               unique = true,  useable = true,  shouldClose = true,  combinable = nil, description = 'Lighter for lighting up a campfire.'},
```

</details>

<details>

<summary><strong>tgiann</strong></summary>

Add the following into:\
&#xNAN;_`items.lua in your framework script`_

```lua
campfire               = {name = 'campfire',               label = 'Campfire',               weight = 1,   type = 'item',  image = 'campfire.png',               unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Campfire in which you can cook.'},
campingchair           = {name = 'campingchair',           label = 'Chair',                  weight = 1,   type = 'item',  image = 'campingchair.png',           unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping chair in which you can sit.'},
campingtent            = {name = 'campingtent',            label = 'Tent',                   weight = 1,   type = 'item',  image = 'campingtent.png',            unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping tent in which you can store items or hide.'},
campingsleepingbag     = {name = 'campingsleepingbag',     label = 'Sleeping Bag',           weight = 1,   type = 'item',  image = 'campingsleepingbag.png',     unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping sleeping bag in which you can sleep.'},
campingshower          = {name = 'campingshower',          label = 'Shower',                 weight = 1,   type = 'item',  image = 'campingshower.png',          unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping shower in which you can clean yourself.'},
campingcooler          = {name = 'campingcooler',          label = 'Cooler',                 weight = 1,   type = 'item',  image = 'campingcooler.png',          unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping cooler in which you can keep your drinks cold.'},
campingbeerbarrel      = {name = 'campingbeerbarrel',      label = 'Beer Barrel',            weight = 1,   type = 'item',  image = 'campingbeerbarrel.png',      unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Camping beer barrel from which you can fill your cup.'},
codelock               = {name = 'codelock',               label = 'Codelock',               weight = 1,   type = 'item',  image = 'rawmeat.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Codelock for locking your tent or cooler.'},
rawmeat                = {name = 'rawmeat',                label = 'Raw Meat',               weight = 1,   type = 'item',  image = 'rawmeat.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Raw meat that you can cook on a campfire.'},
cookedmeat             = {name = 'cookedmeat',             label = 'Cooked Meat',            weight = 1,   type = 'item',  image = 'cookedmeat.png',             unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Cooked meat.'},
smores                 = {name = 'smores',                 label = 'Smores',                 weight = 1,   type = 'item',  image = 'smores.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Smores.'},
cookedsmores           = {name = 'cookedsmores',           label = 'Cooked Smores',          weight = 1,   type = 'item',  image = 'cookedsmores.png',           unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Cooked smores.'},
emptybeercup           = {name = 'emptybeercup',           label = 'Empty Cup',              weight = 1,   type = 'item',  image = 'emptybeercup.png',           unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Empty Beer Cup.'},
fullbeercup            = {name = 'fullbeercup',            label = 'Full Cup',               weight = 1,   type = 'item',  image = 'fullbeercup.png',            unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Full Beer Cup.'},
matches                = {name = 'matches',                label = 'Matches',                weight = 1,   type = 'item',  image = 'matches.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Matches for lighting up a campfire.'},
lighter                = {name = 'lighter',                label = 'Lighter',                weight = 1,   type = 'item',  image = 'lighter.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = 'Lighter for lighting up a campfire.'},
```

</details>

5. Configure everything to your liking in [Config.lua](config-file).\

6.  Add the following into your database:

    ```sql
    CREATE TABLE IF NOT EXISTS camping_objects (
        id INT AUTO_INCREMENT PRIMARY KEY,
        item VARCHAR(255) NOT NULL,
        codelock int(11) NOT NULL DEFAULT 0,
        created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
        `x` DOUBLE NOT NULL,
        `y` DOUBLE NOT NULL,
        `z` DOUBLE NOT NULL,
        `h` DOUBLE NOT NULL
    )
    ```
7. Restart your inventory script and start fivecode\_camping, or restart your server.\

8. Enjoy the script!\

9. \[Optional] If you want to have item images in your inventory, go into the folder bellow and copy the images into your inventory:\
   &#xNAN;_`fivecode_camping/Installation #9 - Images`_\
   \
   \- _`ox_inventory\web\images`_\
   \- _`qb-inventory\html\images`_\
   \- _`qs-inventory\html\images`_\
   \- _`ps-inventory\html\images`_\
   \- _`codem-inventory\html\itemimages`_\
   \- _`core_inventory\html\img`_\
   \- _`origen_inventory\html\images`_\
   _- `tgiann-inventory\inventory_images/images`_

> If you need help with anything else, do not hesitate and open a support ticket in our [discord](https://discord.gg/Yf7GrHDuUr).
