# Installation Guide

1. Download the script from your [cfx portal](https://portal.cfx.re/login).<br>
2. Place the script into your server resource folder:\
   \&#xNAN;*`FXServer\server-data\resources\fivecode_camping`*<br>
3. Write the script into your server.cfg:\
   \&#xNAN;*`ensure fivecode_camping`*<br>
4. Setup your inventory:

<details>

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

Add the following 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>jaksam</strong></summary>

Add the following into:\
\&#xNAN;*`jaksam-inventory/_data/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>jaksam</summary>

Add the following into:\
\&#xNAN;*`ak47_inventory/shared/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>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](https://fivecode.gitbook.io/docs/scripts/fivecode-camping/config-file).<br>
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.<br>
8. Enjoy the script!<br>
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`*\
   \&#xNAN;*-* *`jaksam_inventory/_images/`*\
   \- *`ak47_inventory/web/build/images/`*

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