FivecodeDocs
DiscordTebex StoreYoutube
  • Welcome
  • Scripts
    • Fivecode Clothing
      • Installation Guide
      • Config file
      • Tutorials
    • Fivecode Armor
      • Installation Guide
      • Config file
      • Tutorials
    • Fivecode Carkeys
      • Installation Guide
      • Config file
      • Tutorials
    • Fivecode Roleplay Chat
      • Installation Guide
      • Config file
      • Tutorials
    • Fivecode Camping
      • Installation Guide
      • Config file
      • Tutorials
    • Fivecode Burger Shot Job
      • Installation Guide
      • Config file
      • Tutorials
    • Fivecode UWU Cat Cafe Job
      • Installation Guide
      • Config file
      • Tutorials
    • Fivecode Vanilla Unicorn Job
      • Installation Guide
      • Config file
      • Tutorials
  • Tutorials
    • Fivem escrow System
      • Error parsing script ... <\1>
      • Failed to verify protected resource
Powered by GitBook
On this page

Was this helpful?

  1. Scripts
  2. Fivecode Clothing

Installation Guide

Follow these steps for flawless installation

PreviousFivecode ClothingNextConfig file

Last updated 3 months ago

Was this helpful?

  1. Download the script from your .

  2. Place the script into your server resource folder: FXServer\server-data\resources\fivecode_clothing

  3. Write the script into your server.cfg: ensure fivecode_clothing

  4. Setup your inventory - ox, qb, qs, ps, codem, core, origen, tgiann:

ox

Add the following into: ox_inventory\modules\items\client.lua

Item('mask', function(data, slot)
    TriggerEvent('fivecode_clothing:useOutfit', slot, 'mask')
end)

Item('helmet', function(data, slot)
    TriggerEvent('fivecode_clothing:useOutfit', slot, 'helmet')
end)

Item('glasses', function(data, slot)
    TriggerEvent('fivecode_clothing:useOutfit', slot, 'glasses')
end)

Item('ear', function(data, slot)
    TriggerEvent('fivecode_clothing:useOutfit', slot, 'ear')
end)

Item('chain', function(data, slot)
    TriggerEvent('fivecode_clothing:useOutfit', slot, 'chain')
end)

Item('watches', function(data, slot)
    TriggerEvent('fivecode_clothing:useOutfit', slot, 'watches')
end)

Item('bracelet', function(data, slot)
    TriggerEvent('fivecode_clothing:useOutfit', slot, 'bracelet')
end)

Item('tshirt', function(data, slot)
    TriggerEvent('fivecode_clothing:useOutfit', slot, 'tshirt')
end)

Item('vest', function(data, slot)
    TriggerEvent('fivecode_clothing:useOutfit', slot, 'vest')
end)

Item('jacket', function(data, slot)
    TriggerEvent('fivecode_clothing:useOutfit', slot, 'jacket')
end)

Item('decals', function(data, slot)
    TriggerEvent('fivecode_clothing:useOutfit', slot, 'decals')
end)

Item('bag', function(data, slot)
    TriggerEvent('fivecode_clothing:useOutfit', slot, 'bag')
end)

Item('gloves', function(data, slot)
    TriggerEvent('fivecode_clothing:useOutfit', slot, 'gloves')
end)

Item('pants', function(data, slot)
    TriggerEvent('fivecode_clothing:useOutfit', slot, 'pants')
end)

Item('shoes', function(data, slot)
    TriggerEvent('fivecode_clothing:useOutfit', slot, 'shoes')
end)

Item('top', function(data, slot)
    TriggerEvent('fivecode_clothing:useOutfit', slot, 'top')
end)

Item('outfit', function(data, slot)
    TriggerEvent('fivecode_clothing:useOutfit', slot)
end)

And this into: ox_inventory\data\items.lua

['mask'] = {
	label = 'Mask',
	weight = 10,
	stack = false,
	close = true,
},

['helmet'] = {
	label = 'Helmet',
	weight = 10,
	stack = false,
	close = true,
},

['glasses'] = {
	label = 'Glasses',
	weight = 10,
	stack = false,
	close = true,
},

['ear'] = {
	label = 'Ear',
	weight = 10,
	stack = false,
	close = true,
},

['chain'] = {
	label = 'Chain',
	weight = 10,
	stack = false,
	close = true,
},

['watches'] = {
	label = 'Watches',
	weight = 10,
	stack = false,
	close = true,
},

['bracelet'] = {
	label = 'Bracelet',
	weight = 10,
	stack = false,
	close = true,
},

['tshirt'] = {
	label = 'Tshirt',
	weight = 10,
	stack = false,
	close = true,
},

['vest'] = {
	label = 'Vest',
	weight = 10,
	stack = false,
	close = true,
},

['jacket'] = {
	label = 'Jacket',
	weight = 10,
	stack = false,
	close = true,
},

['decals'] = {
	label = 'Decals',
	weight = 10,
	stack = false,
	close = true,
},

['bag'] = {
	label = 'Bag',
	weight = 10,
	stack = false,
	close = true,
},

['gloves'] = {
	label = 'Gloves',
	weight = 10,
	stack = false,
	close = true,
},

['pants'] = {
	label = 'Pants',
	weight = 10,
	stack = false,
	close = true,
},

['shoes'] = {
	label = 'Shoes',
	weight = 10,
	stack = false,
	close = true,
},

['top'] = {
	label = 'Top',
	weight = 10,
	stack = false,
	close = true,
},

['outfit'] = {
	label = 'Outfit',
	weight = 10,
	stack = false,
	close = true,
},
qb

Add the following into: qb-core\shared\items.lua

mask                  = {name = 'mask',                  label = 'Mask',                  weight = 10,  type = 'item',  image = 'mask.png',                  unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
helmet                = {name = 'helmet',                label = 'Helmet',                weight = 10,  type = 'item',  image = 'helmet.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
glasses               = {name = 'glasses',               label = 'Glasses',               weight = 10,  type = 'item',  image = 'glasses.png',               unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
ear                   = {name = 'ear',                   label = 'Ear',                   weight = 10,  type = 'item',  image = 'ear.png',                   unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
chain                 = {name = 'chain',                 label = 'Chain',                 weight = 10,  type = 'item',  image = 'chain.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
watches               = {name = 'watches',               label = 'Watches',               weight = 10,  type = 'item',  image = 'watches.png',               unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
bracelet              = {name = 'bracelet',              label = 'Bracelet',              weight = 10,  type = 'item',  image = 'bracelet.png',              unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
tshirt                = {name = 'tshirt',                label = 'Tshirt',                weight = 10,  type = 'item',  image = 'tshirt.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
vest                  = {name = 'vest',                  label = 'Vest',                  weight = 10,  type = 'item',  image = 'vest.png',                  unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
jacket                = {name = 'jacket',                label = 'Jacket',                weight = 10,  type = 'item',  image = 'jacket.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
decals                = {name = 'decals',                label = 'Decals',                weight = 10,  type = 'item',  image = 'decals.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
bag                   = {name = 'bag',                   label = 'Bag',                   weight = 10,  type = 'item',  image = 'bag.png',                   unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
gloves                = {name = 'gloves',                label = 'Gloves',                weight = 10,  type = 'item',  image = 'gloves.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
pants                 = {name = 'pants',                 label = 'Pants',                 weight = 10,  type = 'item',  image = 'pants.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
shoes                 = {name = 'shoes',                 label = 'Shoes',                 weight = 10,  type = 'item',  image = 'shoes.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
top                   = {name = 'top',                   label = 'Top',                   weight = 10,  type = 'item',  image = 'top.png',                   unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
outfit                = {name = 'outfit',                label = 'Outfit',                weight = 10,  type = 'item',  image = 'outfit.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},

Skip the step bellow if you are using qb-inventory v2. And this to: qb-inventory/html/js/app.js

New:
} else if (["mask", "helmet", "glasses", "ear", "chain", "watches", "bracelet", "tshirt", "vest", "jacket", "decals", "bag", "gloves", "pants", "shoes", "outfit", "top"].includes(itemData.name)) {
    return `
        <p><strong>${itemData.label}</strong></p>
        <p>${itemData.description}</p>
        <p><strong>Number: </strong><span>${itemData.info.clothNumber}</span></p>
        <p><strong>Color: </strong><span>${itemData.info.clothColor}</span></p>
    `;
}

Old:
} else if (["mask", "helmet", "glasses", "ear", "chain", "watches", "bracelet", "tshirt", "vest", "jacket", "decals", "bag", "gloves", "pants", "shoes", "outfit", "top"].includes(itemData.name)) {
    $(".item-info-title").html(`<p>${itemData.label}</p>`);
    $(".item-info-description").html(`<p>${itemData.description}</p>`);
    $(".item-info-line").html(`
        <p><b>Number: </b>${itemData.info.clothNumber}</p>
        <p><b>Color: </b>${itemData.info.clothColor}</p>
    `);
}
qs

Add the following into: qs-inventory\shared\items.lua

['mask']                  = {name = 'mask',                  label = 'Mask',                  weight = 10,  type = 'item',  image = 'mask.png',                  unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
['helmet']                = {name = 'helmet',                label = 'Helmet',                weight = 10,  type = 'item',  image = 'helmet.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
['glasses']               = {name = 'glasses',               label = 'Glasses',               weight = 10,  type = 'item',  image = 'glasses.png',               unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
['ear']                   = {name = 'ear',                   label = 'Ear',                   weight = 10,  type = 'item',  image = 'ear.png',                   unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
['chain']                 = {name = 'chain',                 label = 'Chain',                 weight = 10,  type = 'item',  image = 'chain.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
['watches']               = {name = 'watches',               label = 'Watches',               weight = 10,  type = 'item',  image = 'watches.png',               unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
['bracelet']              = {name = 'bracelet',              label = 'Bracelet',              weight = 10,  type = 'item',  image = 'bracelet.png',              unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
['tshirt']                = {name = 'tshirt',                label = 'Tshirt',                weight = 10,  type = 'item',  image = 'tshirt.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
['vest']                  = {name = 'vest',                  label = 'Vest',                  weight = 10,  type = 'item',  image = 'vest.png',                  unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
['jacket']                = {name = 'jacket',                label = 'Jacket',                weight = 10,  type = 'item',  image = 'jacket.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
['decals']                = {name = 'decals',                label = 'Decals',                weight = 10,  type = 'item',  image = 'decals.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
['bag']                   = {name = 'bag',                   label = 'Bag',                   weight = 10,  type = 'item',  image = 'bag.png',                   unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
['gloves']                = {name = 'gloves',                label = 'Gloves',                weight = 10,  type = 'item',  image = 'gloves.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
['pants']                 = {name = 'pants',                 label = 'Pants',                 weight = 10,  type = 'item',  image = 'pants.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
['shoes']                 = {name = 'shoes',                 label = 'Shoes',                 weight = 10,  type = 'item',  image = 'shoes.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
['top']                   = {name = 'top',                   label = 'Top',                   weight = 10,  type = 'item',  image = 'top.png',                   unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
['outfit']                = {name = 'outfit',                label = 'Outfit',                weight = 10,  type = 'item',  image = 'outfit.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},

And this into: qs-inventory\config\metadata.js

New:
} else if (["mask", "helmet", "glasses", "ear", "chain", "watches", "bracelet", "tshirt", "vest", "jacket", "decals", "bag", "gloves", "pants", "shoes", "outfit", "top"].includes(itemData.name)) {
    return `
        <p><strong>${itemData.label}</strong></p>
        <p><strong>Description: </strong><span>${itemData.description}</span></p>
        <p><strong>Number: </strong><span>${itemData.info.clothNumber}</span></p>
        <p><strong>Color: </strong><span>${itemData.info.clothColor}</span></p>
    `;
}

Old:
} else if (["mask", "helmet", "glasses", "ear", "chain", "watches", "bracelet", "tshirt", "vest", "jacket", "decals", "bag", "gloves", "pants", "shoes", "outfit", "top"].includes(itemData.name)) {
    $(".item-info-title").html(`<p>${itemData.label}</p>`);
    $(".item-info-description").html(`<p>${itemData.description}</p>`);
    $(".item-info-line").html(`
        <p><b>Number: </b>${itemData.info.clothNumber}</p>
        <p><b>Color: </b>${itemData.info.clothColor}</p>
    `);
}

Disable qs-inventory default clothing system: qs-inventory\config\config.lua

Config.Clothing = false
ps

Add the following into: qb-core\shared\items.lua

mask                  = {name = 'mask',                  label = 'Mask',                  weight = 10,  type = 'item',  image = 'mask.png',                  unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
helmet                = {name = 'helmet',                label = 'Helmet',                weight = 10,  type = 'item',  image = 'helmet.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
glasses               = {name = 'glasses',               label = 'Glasses',               weight = 10,  type = 'item',  image = 'glasses.png',               unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
ear                   = {name = 'ear',                   label = 'Ear',                   weight = 10,  type = 'item',  image = 'ear.png',                   unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
chain                 = {name = 'chain',                 label = 'Chain',                 weight = 10,  type = 'item',  image = 'chain.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
watches               = {name = 'watches',               label = 'Watches',               weight = 10,  type = 'item',  image = 'watches.png',               unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
bracelet              = {name = 'bracelet',              label = 'Bracelet',              weight = 10,  type = 'item',  image = 'bracelet.png',              unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
tshirt                = {name = 'tshirt',                label = 'Tshirt',                weight = 10,  type = 'item',  image = 'tshirt.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
vest                  = {name = 'vest',                  label = 'Vest',                  weight = 10,  type = 'item',  image = 'vest.png',                  unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
jacket                = {name = 'jacket',                label = 'Jacket',                weight = 10,  type = 'item',  image = 'jacket.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
decals                = {name = 'decals',                label = 'Decals',                weight = 10,  type = 'item',  image = 'decals.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
bag                   = {name = 'bag',                   label = 'Bag',                   weight = 10,  type = 'item',  image = 'bag.png',                   unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
gloves                = {name = 'gloves',                label = 'Gloves',                weight = 10,  type = 'item',  image = 'gloves.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
pants                 = {name = 'pants',                 label = 'Pants',                 weight = 10,  type = 'item',  image = 'pants.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
shoes                 = {name = 'shoes',                 label = 'Shoes',                 weight = 10,  type = 'item',  image = 'shoes.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
top                   = {name = 'top',                   label = 'Top',                   weight = 10,  type = 'item',  image = 'top.png',                   unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
outfit                = {name = 'outfit',                label = 'Outfit',                weight = 10,  type = 'item',  image = 'outfit.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},

And this to: ps-inventory/html/js/app.js

New:
} else if (["mask", "helmet", "glasses", "ear", "chain", "watches", "bracelet", "tshirt", "vest", "jacket", "decals", "bag", "gloves", "pants", "shoes", "outfit", "top"].includes(itemData.name)) {
    return `
        <p><strong>${itemData.label}</strong></p>
        <p><strong>Description: </strong><span>${itemData.description}</span></p>
        <p><strong>Number: </strong><span>${itemData.info.clothNumber}</span></p>
        <p><strong>Color: </strong><span>${itemData.info.clothColor}</span></p>
    `;
}

Old:
} else if (["mask", "helmet", "glasses", "ear", "chain", "watches", "bracelet", "tshirt", "vest", "jacket", "decals", "bag", "gloves", "pants", "shoes", "outfit", "top"].includes(itemData.name)) {
    $(".item-info-title").html(`<p>${itemData.label}</p>`);
    $(".item-info-description").html(`<p>${itemData.description}</p>`);
    $(".item-info-line").html(`
        <p><b>Number: </b>${itemData.info.clothNumber}</p>
        <p><b>Color: </b>${itemData.info.clothColor}</p>
    `);
}
codem

Add the following into: codem-inventory\config\itemlist.lua

mask                  = {name = 'mask',                  label = 'Mask',                  weight = 10,  type = 'item',  image = 'mask.png',                  unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
helmet                = {name = 'helmet',                label = 'Helmet',                weight = 10,  type = 'item',  image = 'helmet.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
glasses               = {name = 'glasses',               label = 'Glasses',               weight = 10,  type = 'item',  image = 'glasses.png',               unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
ear                   = {name = 'ear',                   label = 'Ear',                   weight = 10,  type = 'item',  image = 'ear.png',                   unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
chain                 = {name = 'chain',                 label = 'Chain',                 weight = 10,  type = 'item',  image = 'chain.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
watches               = {name = 'watches',               label = 'Watches',               weight = 10,  type = 'item',  image = 'watches.png',               unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
bracelet              = {name = 'bracelet',              label = 'Bracelet',              weight = 10,  type = 'item',  image = 'bracelet.png',              unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
tshirt                = {name = 'tshirt',                label = 'Tshirt',                weight = 10,  type = 'item',  image = 'tshirt.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
vest                  = {name = 'vest',                  label = 'Vest',                  weight = 10,  type = 'item',  image = 'vest.png',                  unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
jacket                = {name = 'jacket',                label = 'Jacket',                weight = 10,  type = 'item',  image = 'jacket.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
decals                = {name = 'decals',                label = 'Decals',                weight = 10,  type = 'item',  image = 'decals.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
bag                   = {name = 'bag',                   label = 'Bag',                   weight = 10,  type = 'item',  image = 'bag.png',                   unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
gloves                = {name = 'gloves',                label = 'Gloves',                weight = 10,  type = 'item',  image = 'gloves.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
pants                 = {name = 'pants',                 label = 'Pants',                 weight = 10,  type = 'item',  image = 'pants.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
shoes                 = {name = 'shoes',                 label = 'Shoes',                 weight = 10,  type = 'item',  image = 'shoes.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
top                   = {name = 'top',                   label = 'Top',                   weight = 10,  type = 'item',  image = 'top.png',                   unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
outfit                = {name = 'outfit',                label = 'Outfit',                weight = 10,  type = 'item',  image = 'outfit.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
core

Add the following into your database:

INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`, `desc`) VALUES
    ('mask', 'Mask', 10, 0, 1, NULL),
    ('helmet', 'Helmet', 10, 0, 1, NULL),
    ('glasses', 'Glasses', 10, 0, 1, NULL),
    ('ear', 'Ear', 10, 0, 1, NULL),
    ('chain', 'Chain', 10, 0, 1, NULL),
    ('watches', 'Watches', 10, 0, 1, NULL),
    ('bracelet', 'Bracelet', 10, 0, 1, NULL),
    ('tshirt', 'Tshirt', 10, 0, 1, NULL),
    ('vest', 'Vest', 10, 0, 1, NULL),
    ('jacket', 'Jacket', 10, 0, 1, NULL),
    ('decals', 'Decals', 10, 0, 1, NULL),
    ('bag', 'Bag', 10, 0, 1, NULL),
    ('gloves', 'Gloves', 10, 0, 1, NULL),
    ('pants', 'Pants', 10, 0, 1, NULL),
    ('shoes', 'Shoes', 10, 0, 1, NULL),
    ('top', 'Top', 10, 0, 1, NULL);
    ('outfit', 'Outfit', 10, 0, 1, NULL);
origen

Add the following into: origen_inventory\config\items.lua

['mask']                  = {['name'] = 'mask',                  ['label'] = 'Mask',                  ['weight'] = 10,  ['type'] = 'item',  ['image'] = 'mask.png',                  ['unique'] = true,  ['useable'] = true,  ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['helmet']                = {['name'] = 'helmet',                ['label'] = 'Helmet',                ['weight'] = 10,  ['type'] = 'item',  ['image'] = 'helmet.png',                ['unique'] = true,  ['useable'] = true,  ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['glasses']               = {['name'] = 'glasses',               ['label'] = 'Glasses',               ['weight'] = 10,  ['type'] = 'item',  ['image'] = 'glasses.png',               ['unique'] = true,  ['useable'] = true,  ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['ear']                   = {['name'] = 'ear',                   ['label'] = 'Ear',                   ['weight'] = 10,  ['type'] = 'item',  ['image'] = 'ear.png',                   ['unique'] = true,  ['useable'] = true,  ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['chain']                 = {['name'] = 'chain',                 ['label'] = 'Chain',                 ['weight'] = 10,  ['type'] = 'item',  ['image'] = 'chain.png',                 ['unique'] = true,  ['useable'] = true,  ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['watches']               = {['name'] = 'watches',               ['label'] = 'Watches',               ['weight'] = 10,  ['type'] = 'item',  ['image'] = 'watches.png',               ['unique'] = true,  ['useable'] = true,  ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['bracelet']              = {['name'] = 'bracelet',              ['label'] = 'Bracelet',              ['weight'] = 10,  ['type'] = 'item',  ['image'] = 'bracelet.png',              ['unique'] = true,  ['useable'] = true,  ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['tshirt']                = {['name'] = 'tshirt',                ['label'] = 'Tshirt',                ['weight'] = 10,  ['type'] = 'item',  ['image'] = 'tshirt.png',                ['unique'] = true,  ['useable'] = true,  ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['vest']                  = {['name'] = 'vest',                  ['label'] = 'Vest',                  ['weight'] = 10,  ['type'] = 'item',  ['image'] = 'vest.png',                  ['unique'] = true,  ['useable'] = true,  ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['jacket']                = {['name'] = 'jacket',                ['label'] = 'Jacket',                ['weight'] = 10,  ['type'] = 'item',  ['image'] = 'jacket.png',                ['unique'] = true,  ['useable'] = true,  ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['decals']                = {['name'] = 'decals',                ['label'] = 'Decals',                ['weight'] = 10,  ['type'] = 'item',  ['image'] = 'decals.png',                ['unique'] = true,  ['useable'] = true,  ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['bag']                   = {['name'] = 'bag',                   ['label'] = 'Bag',                   ['weight'] = 10,  ['type'] = 'item',  ['image'] = 'bag.png',                   ['unique'] = true,  ['useable'] = true,  ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['gloves']                = {['name'] = 'gloves',                ['label'] = 'Gloves',                ['weight'] = 10,  ['type'] = 'item',  ['image'] = 'gloves.png',                ['unique'] = true,  ['useable'] = true,  ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['pants']                 = {['name'] = 'pants',                 ['label'] = 'Pants',                 ['weight'] = 10,  ['type'] = 'item',  ['image'] = 'pants.png',                 ['unique'] = true,  ['useable'] = true,  ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['shoes']                 = {['name'] = 'shoes',                 ['label'] = 'Shoes',                 ['weight'] = 10,  ['type'] = 'item',  ['image'] = 'shoes.png',                 ['unique'] = true,  ['useable'] = true,  ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['top']                   = {['name'] = 'top',                   ['label'] = 'Top',                   ['weight'] = 10,  ['type'] = 'item',  ['image'] = 'top.png',                   ['unique'] = true,  ['useable'] = true,  ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['outfit']                = {['name'] = 'outfit',                ['label'] = 'Outfit',                ['weight'] = 10,  ['type'] = 'item',  ['image'] = 'outfit.png',                ['unique'] = true,  ['useable'] = true,  ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
tgiann

Add the following into: items.lua in your framework script

mask                  = {name = 'mask',                  label = 'Mask',                  weight = 10,  type = 'item',  image = 'mask.png',                  unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
helmet                = {name = 'helmet',                label = 'Helmet',                weight = 10,  type = 'item',  image = 'helmet.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
glasses               = {name = 'glasses',               label = 'Glasses',               weight = 10,  type = 'item',  image = 'glasses.png',               unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
ear                   = {name = 'ear',                   label = 'Ear',                   weight = 10,  type = 'item',  image = 'ear.png',                   unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
chain                 = {name = 'chain',                 label = 'Chain',                 weight = 10,  type = 'item',  image = 'chain.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
watches               = {name = 'watches',               label = 'Watches',               weight = 10,  type = 'item',  image = 'watches.png',               unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
bracelet              = {name = 'bracelet',              label = 'Bracelet',              weight = 10,  type = 'item',  image = 'bracelet.png',              unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
tshirt                = {name = 'tshirt',                label = 'Tshirt',                weight = 10,  type = 'item',  image = 'tshirt.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
vest                  = {name = 'vest',                  label = 'Vest',                  weight = 10,  type = 'item',  image = 'vest.png',                  unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
jacket                = {name = 'jacket',                label = 'Jacket',                weight = 10,  type = 'item',  image = 'jacket.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
decals                = {name = 'decals',                label = 'Decals',                weight = 10,  type = 'item',  image = 'decals.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
bag                   = {name = 'bag',                   label = 'Bag',                   weight = 10,  type = 'item',  image = 'bag.png',                   unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
gloves                = {name = 'gloves',                label = 'Gloves',                weight = 10,  type = 'item',  image = 'gloves.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
pants                 = {name = 'pants',                 label = 'Pants',                 weight = 10,  type = 'item',  image = 'pants.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
shoes                 = {name = 'shoes',                 label = 'Shoes',                 weight = 10,  type = 'item',  image = 'shoes.png',                 unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
top                   = {name = 'top',                   label = 'Top',                   weight = 10,  type = 'item',  image = 'top.png',                   unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
outfit                = {name = 'outfit',                label = 'Outfit',                weight = 10,  type = 'item',  image = 'outfit.png',                unique = true,  useable = true,  shouldClose = true, combinable = nil, description = ''},
  1. Restart your inventory script and start fivecode_clothing, or restart your server.

  2. Enjoy the script!

  3. [Optional] If you want to have item images in your inventory, go into the folder bellow and copy the images into your inventory: fivecode_clothing/Installation #8 - 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

Configure everything to your liking in .

If you need help with anything else, do not hesitate and open a support ticket in our .

keymaster
config.lua
discord