Accessorie Stores | Custom Clothing Lists and Individual Pricing [ESX]

A script by DrShwaggins

No reviews yet.
Accessorie Stores | Custom Clothing Lists and Individual Pricing [ESX] main image

Full Description

Hey guys,
this Script allows you to create and actually decide which clothing should be available to purchase at accessorie stores.

You decide in which order the clothing should be presented and also allows to individual price the giving clothing to create a more realistic economy.

Features:

  • Decide which clothing should be purchaseable
  • Price every clothing individually
  • Create as many Stores as you like
  • Store variants for ear accessories, hats/helmets, glasses and masks with custom banner
    → more to come
  • 100% Translateable

Showcase Video:

Example Config
Config = {}

Config.Locale = 'de'

Config.MarkerType = 20

Config.ShowBlipsEars = false
Config.ShowBlipGlasses = false
Config.ShowBlipHats = false
Config.ShowBlipMask = true

Config.EarsBlip = 1
Config.GlassesBlip = 2
Config.HatsBlip = 3
Config.MaskBlip = 362

Config.EarsBlipColor = 35
Config.GlassesBlipColor = 35
Config.HatsBlipColor = 35
Config.MaskBlipColor = 2

Config.BlipSize = 0.7

Config.BlipDisplay = 5
Config.SetBlipAsShortRange = true


Config.Ear = {
  {earID=-1, price=0},
  {earID=3, price=103},
  {earID=4, price=104},
  {earID=5, price=105},
  {earID=6, price=106},
  {earID=7, price=107},
  {earID=8, price=108},
  {earID=9, price=109},
  {earID=11,  price=111},
  {earID=12,  price=112},
  {earID=13,  price=113},
  {earID=14,  price=114},
  {earID=15,  price=115},
  {earID=16,  price=115},
  {earID=17,  price=115},
  {earID=18,  price=115},
  {earID=19,  price=115},
  {earID=20,  price=115},
  {earID=21,  price=115},
  {earID=22,  price=115},
  {earID=23,  price=115},
  {earID=24,  price=115},
  {earID=25,  price=115},
  {earID=26,  price=115},
  {earID=27,  price=115},
  {earID=28,  price=115},
  {earID=29,  price=115},
  {earID=30,  price=115},
  {earID=31,  price=115},
  {earID=32,  price=115},
  {earID=34,  price=115},
  {earID=35,  price=115},
  {earID=36,  price=115},
  {earID=37,  price=115},
  {earID=38,  price=115},
  {earID=39,  price=115},
  {earID=40,  price=115},
  {earID=41,  price=115}
}


Config.Brillen = {
  {brilleID=0, price=0},
  {brilleID=2, price=101},
  {brilleID=3, price=102},
  {brilleID=4, price=102},
  {brilleID=5, price=102},
  {brilleID=7, price=102},
  {brilleID=8, price=102},
  {brilleID=9, price=102},
  {brilleID=10, price=102},
  {brilleID=12, price=102},
  {brilleID=13, price=102},
  {brilleID=15, price=102},
  {brilleID=16, price=102},
  {brilleID=17, price=102},
  {brilleID=18, price=102},
  {brilleID=19, price=102},
  {brilleID=20, price=102},
  {brilleID=21, price=102},
  {brilleID=22, price=102},
  {brilleID=23, price=102},
  {brilleID=24, price=102},
  {brilleID=25, price=102},
  {brilleID=26, price=102},
  {brilleID=27, price=102},
  {brilleID=28, price=102},
  {brilleID=29, price=102},
  {brilleID=30, price=102},
  {brilleID=31, price=102},
  {brilleID=32, price=102},
  {brilleID=35, price=102},
  {brilleID=41, price=102},
  {brilleID=42, price=102},
  {brilleID=43, price=102},
  {brilleID=45, price=102},
  {brilleID=46, price=102},
  {brilleID=47, price=102},
  {brilleID=48, price=102},
  {brilleID=49, price=102},
  {brilleID=50, price=102},
  {brilleID=51, price=102}
}


Config.Huete = {
  {hatID=-1, price=0},
  {hatID=4, price=101},
  {hatID=5, price=101},
  {hatID=6, price=102},
  {hatID=7, price=103},
  {hatID=12, price=104},
  {hatID=13, price=106},
  {hatID=14, price=107},
  {hatID=15, price=109}, --
  {hatID=64, price=106},
  {hatID=71, price=107},
  {hatID=73, price=109},
  {hatID=74,  price=110},
  {hatID=78,  price=112},
  {hatID=79,  price=112},
  {hatID=80,  price=110},
  {hatID=81,  price=112},
  {hatID=82, price=106},
  {hatID=83, price=107},
  {hatID=97, price=109},
  {hatID=98,  price=110},
  {hatID=107,  price=112},
  {hatID=108,  price=110},
  {hatID=109,  price=112},
  {hatID=111, price=106},
  {hatID=113, price=107},
  {hatID=114, price=109},
  {hatID=116,  price=110},
  {hatID=117,  price=112},
  {hatID=118,  price=110},
  {hatID=119,  price=112},
  {hatID=129, price=106},
  {hatID=130, price=107},
  {hatID=147, price=109},
  {hatID=148,  price=110},
  {hatID=149,  price=112},
  {hatID=155,  price=110},
  {hatID=156,  price=112},
  {hatID=157, price=106},
  {hatID=158, price=107},
  {hatID=162, price=109},
  {hatID=163,  price=110},
  {hatID=167,  price=112},
  {hatID=173,  price=110},
  {hatID=183,  price=112},
  {hatID=184, price=106},
  {hatID=185, price=107},
  {hatID=188, price=109},
  {hatID=189,  price=110},
  {hatID=195,  price=112},
  {hatID=196,  price=112},
  {hatID=199,  price=112},
  {hatID=204,  price=112},
  {hatID=205,  price=112},
  {hatID=206,  price=112},
  {hatID=207,  price=112},
  {hatID=209,  price=112},
  {hatID=210,  price=112},
  {hatID=211,  price=112},
  {hatID=212,  price=112},
  {hatID=215,  price=112},
  {hatID=216,  price=112},
  {hatID=217,  price=112},
  {hatID=218,  price=112},
  {hatID=219,  price=112},
  {hatID=220,  price=112},
  {hatID=221,  price=112},
  {hatID=222,  price=112},
  {hatID=223,  price=112},
  {hatID=224,  price=112},
  {hatID=225,  price=112},
  {hatID=20,  price=110},
  {hatID=21,  price=112},
  {hatID=22, price=106},
  {hatID=24, price=107},
  {hatID=25, price=109},
  {hatID=26,  price=110},
  {hatID=27,  price=112},
  {hatID=28, price=106},
  {hatID=29, price=107},
  {hatID=30, price=109},
  {hatID=31,  price=110},
  {hatID=32,  price=112},
  {hatID=33, price=106},
  {hatID=34, price=107},
  {hatID=35, price=109},
  {hatID=37,  price=110},
  {hatID=38,  price=112},
  {hatID=39, price=109},
  {hatID=40,  price=110},
  {hatID=42,  price=112},
  {hatID=43, price=106},
  {hatID=44, price=107},
  {hatID=45, price=109},
  {hatID=46,  price=110},
  {hatID=47,  price=112},
  {hatID=49, price=109},
  {hatID=50,  price=110},
  {hatID=51,  price=112},
  {hatID=52, price=106},
  {hatID=53, price=107},
  {hatID=56, price=109},
  {hatID=57,  price=110},
  {hatID=60,  price=112},
  {hatID=62,  price=110},
  {hatID=63,  price=112}
}


Config.Masken = {
  {maskID=0,price=0},
  {maskID=1,price=101},
  {maskID=2,price=102},
  {maskID=3,price=103},
  {maskID=4,price=104},
  {maskID=6,price=106},
  {maskID=7,price=107},
  {maskID=10,price=110},
  {maskID=12,price=112},
  {maskID=13,price=112},
  {maskID=14,price=112},
  {maskID=19,price=112},
  {maskID=21,price=112},
  {maskID=25,price=112},
  {maskID=28,price=112},
  {maskID=31,price=112},
  {maskID=32,price=112},
  {maskID=36,price=112},
  {maskID=37,price=112},
  {maskID=38,price=112},
  {maskID=39,price=112},
  {maskID=40,price=112},
  {maskID=41,price=112},
  {maskID=42,price=112},
  {maskID=43,price=112},
  {maskID=44,price=112},
  {maskID=45,price=112},
  {maskID=46,price=112},
  {maskID=47,price=112},
  {maskID=48,price=112},
  {maskID=49,price=112},
  {maskID=50,price=112},
  {maskID=51,price=112},
  {maskID=52,price=112},
  {maskID=53,price=112},
  {maskID=54,price=112},
  {maskID=56,price=112},
  {maskID=57,price=112},
  {maskID=65,price=112},
  {maskID=79,price=112},
  {maskID=80,price=112},
  {maskID=82,price=112},
  {maskID=85,price=112},
  {maskID=139,price=112},
  {maskID=142,price=112},
  {maskID=143,price=112},
  {maskID=144,price=112},
  {maskID=146,price=112}
}


Config.StoreLocations = {
  -- Ear
  {banner = 'shopui_title_lowendfashion', position = vector3(80.3, -1389.4, 28.4), type=0},
  {banner = 'shopui_title_lowendfashion2', position = vector3(420.7, -809.6, 28.6), type=0},
  {banner = 'shopui_title_lowendfashion2', position = vector3(-817.0, -1075.9, 10.4), type=0},
  {banner = 'shopui_title_lowendfashion', position = vector3(-0.7, 6513.6, 30.9), type=0},
  {banner = 'shopui_title_midfashion', position = vector3(123.4, -208.0, 53.6), type=0},
  {banner = 'shopui_title_lowendfashion', position = vector3(1687.3, 4827.6, 41.1), type=0},
  {banner = 'shopui_title_midfashion', position = vector3(622.8, 2749.2, 41.2), type=0},
  {banner = 'shopui_title_lowendfashion', position = vector3(1200.0, 2705.4,	37.3), type=0},
  {banner = 'shopui_title_midfashion', position = vector3(-1199.9, -782.5, 16.4), type=0},
  {banner = 'shopui_title_midfashion', position = vector3(-3171.8, 1059.6, 19.9), type=0},
  {banner = 'shopui_title_lowendfashion', position = vector3(-1095.6, 2709.2, 18.2), type=0},

  -- Glasses
  {banner = 'shopui_title_lowendfashion', position = vector3(75.2, -1391.1, 28.4), type=1},
  {banner = 'shopui_title_lowendfashion2', position = vector3(425.4, -807.8, 28.6), type=1},
  {banner = 'shopui_title_lowendfashion2', position = vector3(-820.8, -1072.9, 10.4), type=1},
  {banner = 'shopui_title_lowendfashion', position = vector3(3.5, 6511.5, 30.9), type=1},
  {banner = 'shopui_title_midfashion', position = vector3(131.3, -212.3, 53.6), type=1},
  {banner = 'shopui_title_lowendfashion', position = vector3(1694.9, 4820.8,	41.1), type=1},
  {banner = 'shopui_title_midfashion', position = vector3(613.9, 2768.8, 41.2), type=1},
  {banner = 'shopui_title_lowendfashion', position = vector3(1198.6, 2711.0, 37.3), type=1},
  {banner = 'shopui_title_midfashion', position = vector3(-1188.2, -764.5, 16.4), type=1},
  {banner = 'shopui_title_midfashion', position = vector3(-3173.1,  1038.2, 19.9), type=1},
  {banner = 'shopui_title_lowendfashion', position = vector3(-1100.4, 2712.4, 18.2), type=1},

  --Hats
  {banner = 'shopui_title_lowendfashion', position = vector3(81.5, -1400.6, 28.4), type=2},
  {banner = 'shopui_title_lowendfashion2', position = vector3(419.3, -800.6, 28.6), type=2},
  {banner = 'shopui_title_lowendfashion2', position = vector3(-824.3, -1081.7, 10.4), type=2},
  {banner = 'shopui_title_lowendfashion', position = vector3(4.7, 6520.9, 30.9), type=2},
  {banner = 'shopui_title_midfashion', position = vector3(121.0, -223.2, 53.3), type=2},
  {banner = 'shopui_title_lowendfashion', position = vector3(1689.6, 4818.8,	41.1), type=2},
  {banner = 'shopui_title_midfashion', position = vector3(613.9, 2749.9, 41.2), type=2},
  {banner = 'shopui_title_lowendfashion', position = vector3(1189.5, 2703.9,	37.3), type=2},
  {banner = 'shopui_title_midfashion', position = vector3(-1204.0, -774.4, 16.4), type=2},
  {banner = 'shopui_title_midfashion', position = vector3(-3164.2, 1054.7, 19.9), type=2},
  {banner = 'shopui_title_lowendfashion', position = vector3(-1103.1, 2700.5, 18.2), type=2},

  -- Masks
  {banner = 'shopui_title_movie_masks', position = vector3(-1338.1, -1278.2, 3.8), type=3},
}


Translations
Locales['en'] = {

  ["shop_open_ear"] = "Press ~INPUT_CONTEXT~ to buy Ear Accessories.",
  ["shop_open_glasses"] = "Press ~INPUT_CONTEXT~ to buy Glasses.",
  ["shop_open_hat"] = "Press ~INPUT_CONTEXT~ to buy Hats.",
  ["shop_open_mask"] = "Press ~INPUT_CONTEXT~ to buy Masks.",

  ["buyed_shopname_ear"] = "Clothingstore",
  ["buyed_shopname_glasses"] = "Clothingstore",
  ["buyed_shopname_hat"] = "Clothingstore",
  ["buyed_shopname_mask"] = "Clothingstore",

  ["buyed_yourorder"] = "Your purchase",

  ["buyed_eartext"] = "You bought earrings for ~g~~h~%s$~h~~s~.",
  ["buyed_glassestext"] = "You bought glasses for ~g~~h~%s$~h~~s~.",
  ["buyed_hattext"] = "You bought hats for ~g~~h~%s$~h~~s~.",
  ["buyed_masktext"] = "You bought masks for ~g~~h~%s$~h~~s~.",

  ["buyed_notbuyable"] = "You can't afford the ~g~~h~%s$~h~~s~ purchase!",

  ["shop_title_ear"] = "Buy ear accessories",
  ["shop_title_glasses"] = "Buy glasses",
  ["shop_title_hat"] = "Buy hats",
  ["shop_title_mask"] = "Buy masks",

  ["shop_item_price"] = "Costs: ~g~%s$",

  ["shop_item_ear_current"] = "~y~Earrings",
  ["shop_item_noear_current"] = "~y~Do not wear earrings",
  ["shop_item_ear"] = "Earrings",
  ["shop_item_noear"] = "Do not wear earrings",

  ["shop_item_glasses_current"] = "~y~Glasses",
  ["shop_item_noglasses_current"] = "~y~Don't wear glasses",
  ["shop_item_glasses"] = "Glasses",
  ["shop_item_noglasses"] = "Don't wear glasses",

  ["shop_item_hat_current"] = "~y~Hat",
  ["shop_item_nohat_current"] = "~y~Don't wear a hat",
  ["shop_item_hat"] = "Hat",
  ["shop_item_nohat"] = "Don't wear a hat",

  ["shop_item_mask_current"] = "~y~Mask",
  ["shop_item_nomask_current"] = "~y~Don't wear a mask",
  ["shop_item_mask"] = "Mask",
  ["shop_item_nomask"] = "Don't wear a mask",

}

Price: 3€ + tax
Download at https://drshwaggins-scripts.tebex.io/package/5591027

|------------------------------------------------------------------
Code is accessible: No
|------------------------------------------------------------------
Subscription-based: No
|------------------------------------------------------------------
Lines (approximately): ~ 850
|------------------------------------------------------------------
Requirements: es_extended, NativeUILua_Reloaded
|------------------------------------------------------------------
Support: Yes

Config Merger
Have you tried Config Merger? Merge your configs easily