Configuration
Config = {}
Config.Framework = "ESX" -- "ESX" or "QBCore"
Config.CorePrefix = "es_extended" -- "qb-core" - "es_extended" or custom export
Config.CashType = "money" -- QB: "cash" / ESX: "money" - Can be used as cash item if "Config.CashAsItem = true"
Config.CashAsItem = false -- If true Config.CashType will be used as cash item
Config.ShowInteractText = true -- If false you can use your own Config.ShowText function with your own export etc.
Config.Interaction = 3.0
Config.ShowText = function()
--exports['qb-core']:DrawText('message','position')
end
Config.Stores = {
-- Store example
-- {
-- name = '24/7', -- Required and needs to be unique from the other stores
-- title = '24/7 Supermarket', -- Required, is shown in the header and the blip
-- logo = 'https://i.imgur.com/pXRRvoB.png', -- Optional.
-- colors = { -- All of these inside colors are required
-- bg = 'rgba(100, 100, 100, .3)', -- Background color for the boxes and containers
-- bgGradient = 'rgba(4, 180, 71, 0.2)', -- Background gradient color
-- primary = 'rgb(4, 180, 7)', -- Color for highlighted items and buttons
-- text = '#fff' -- Make sure it has high contrast with the background color
-- colorCode = '~g~' -- Optional. The color for the interaction text. Default is ~g~
-- },
-- categories = {
-- {
-- title = 'Test category',
-- products = {
-- {
-- label = 'Test product',
-- name = 'test_product',
-- price = 20,
-- image = ''
-- }
-- }
-- }
-- },
-- blip = { -- Optional. If removed, the store will not show a blip on the map.
-- sprite = 59, -- Required. The sprite of the blip.
-- scale = 0.8, -- Optional. The scale of the blip. Default is 0.8.
-- color = 3 -- Optional. The color of the blip. Default is 4.
-- },
-- ped = { -- Here you can define the ped that will be spawned when the store is opened.
-- model = "mp_m_shopkeep_01", -- Required. Ped list: https://docs.fivem.net/docs/game-references/ped-models
-- scenario = '', -- Optional, you can add a scenario. Scenario list: https://pastebin.com/6mrYTdQv
-- animation = { -- Optional, you can add an animation.
-- dict = '',
-- anim = ''
-- }
-- },
-- locations = { -- Required. The list of locations where the store will be available. If you have peds and you want a specific heading for each one, you have to define the locations as vector4s.
-- vector3(0, 0, 0)
-- }
-- },
-- !!! IMPORTANT !!!
-- The products in the stores are not default items in your inventory. They are custom items. You can add them to your inventory or remove them and add your own.
-- So don't be shocked if you don't get the items after you buy them.
-- !!! IMPORTANT !!!
{
name = '24/7',
title = '24/7 Supermarket',
logo = 'https://i.imgur.com/pXRRvoB.png',
colors = {
bg = 'rgba(100, 100, 100, .3)',
bgGradient = 'rgba(4, 180, 71, 0.2)',
primary = 'rgb(4, 180, 7)',
text = '#fff',
colorCode = '~g~'
},
categories = {
{
title = 'Foot',
products = {
{ label = 'Grilled Cheese Toast', name = 'tosti', price = 15, image = 'https://i.ibb.co/VmXrL9G/image-removebg-preview-28.png' },
{ label = 'Sandwich', name = 'sandwich', price = 15, image = 'https://i.ibb.co/0Vb9Ch5/image-removebg-preview-29.png' },
}
},
{
title = 'Snacks',
products = {
{ label = 'Twix 50g', name = 'twerks_candy', price = 10, image = 'https://i.ibb.co/ZfMjGFy/image-removebg-preview-14.png' },
{ label = 'Snikkers', name = 'snikkel_candy', price = 10, image = 'https://i.ibb.co/ZVwj0n1/image-removebg-preview-6.png' },
{ label = 'Skittelz', name = 'sweetys', price = 10, image = 'https://i.ibb.co/2gRWJdW/image-removebg-preview-46.png' },
}
},
{
title = 'Drink',
products = {
{ label = 'Water 50cl', name = 'water_bottle', price = 10, image = 'https://i.ibb.co/2hrqF49/image-removebg-preview-7.png' },
{ label = 'Red Bull 25cl', name = 'redbull', price = 18, image = 'https://i.ibb.co/fX5qB3K/image-removebg-preview-15.png' },
{ label = 'Coca Cola 33cl', name = 'kurkakola', price = 15, image = 'https://i.ibb.co/HpbTCyq/image-removebg-preview-8.png' },
{ label = 'Fanta 33cl', name = 'fanta', price = 12, image = 'https://i.ibb.co/n8mVjC4/image-removebg-preview-45.png' },
{ label = 'Sprite 33cl', name = 'sprite', price = 12, image = 'https://i.ibb.co/z4CFndX/image-removebg-preview-44.png' },
{ label = 'Uwu Bubble Tea 50cl', name = 'uwububbletea', price = 12, image = 'https://i.ibb.co/YXkF0r1/image-removebg-preview-9.png' },
}
},
{
title = 'Alcohol',
products = {
{ label = 'Bier 33cl', name = 'beer', price = 10, image = 'https://i.ibb.co/t4sBbSX/image-removebg-preview-10.png' },
{ label = 'Whiskey 75cl', name = 'whiskey', price = 25, image = 'https://i.ibb.co/Pc59kkV/image-removebg-preview-11.png' },
{ label = 'Vodka 1l', name = 'vodka', price = 22, image = 'https://i.ibb.co/hRMmZ80/image-removebg-preview-12.png' },
}
},
{
title = 'Diverse',
products = {
{ label = 'Joint', name = 'joint', price = 8, image = 'https://i.ibb.co/0hJfRS8/image-removebg-preview-13.png' },
}
}
},
blip = {
sprite = 59,
scale = 0.8,
color = 2
},
ped = {
model = "mp_m_shopkeep_01",
animation = {
dict = 'anim@mp_corona_idles@male_d@idle_a',
anim = 'idle_a'
}
},
locations = {
vector4(372.9861755371094, 328.0340270996094, 103.5664520263672, 255.75537109375),
vector4(-47.3737564086914, -1758.6895751953125, 29.42098999023437, 49.17065048217773),
vector4(24.44316673278808, -1345.6220703125, 29.49702453613281, 266.9807739257813),
vector4(-705.903564453125, -914.5589599609376, 19.21558570861816, 90.38861083984376),
vector4(1164.8587646484375, -323.6117248535156, 69.20510864257812, 102.84022521972656),
vector4(2555.494873046875, 380.917724609375, 108.62299346923828, 358.311279296875),
vector4(549.2811889648438, 2669.71630859375, 42.15649032592773, 99.09514617919922),
vector4(1959.25244140625, 3741.510009765625, 32.34373474121094, 300.1443176269531),
vector4(1697.356201171875, 4923.4189453125, 42.06363677978515, 325.4171142578125),
vector4(-3243.989501953125, 1000.162841796875, 12.83070564270019, 356.3724060058594),
vector4(-3040.598876953125, 584.0460815429688, 7.90892791748046, 14.97980117797851),
vector4(-1819.542724609375, 793.546875, 138.08627319335938, 133.1322784423828),
vector4(1728.6326904296875, 6416.71337890625, 35.03721618652344, 243.89891052246097),
vector4(2676.549072265625, 3280.256103515625, 55.24112319946289, 332.0104064941406)
}
},
{
name = 'robsliquor',
title = 'Rob\'s Liquor Store',
logo = 'https://static.wikia.nocookie.net/gtawiki/images/d/de/RebsLiquor-GTAV.png/revision/latest?cb=20130914110633',
colors = {
bg = 'rgba(100, 100, 100, .3)',
bgGradient = 'rgba(203, 195, 82, 0.3)',
primary = 'rgba(203, 195, 82, 1)',
text = '#fff',
colorCode = '~y~'
},
categories = {
{
title = 'Snacks',
products = {
{ label = 'Twix 50g', name = 'twerks_candy', price = 10, image = 'https://i.ibb.co/ZfMjGFy/image-removebg-preview-14.png' },
{ label = 'Snikkers', name = 'snikkel_candy', price = 10, image = 'https://i.ibb.co/ZVwj0n1/image-removebg-preview-6.png' },
{ label = 'Skittelz', name = 'sweetys', price = 10, image = 'https://i.ibb.co/2gRWJdW/image-removebg-preview-46.png' },
}
},
{
title = 'Drink',
products = {
{ label = 'Water 50cl', name = 'water_bottle', price = 10, image = 'https://i.ibb.co/2hrqF49/image-removebg-preview-7.png' },
{ label = 'Red Bull 25cl', name = 'redbull', price = 18, image = 'https://i.ibb.co/fX5qB3K/image-removebg-preview-15.png' },
{ label = 'Coca Cola 33cl', name = 'kurkakola', price = 15, image = 'https://i.ibb.co/HpbTCyq/image-removebg-preview-8.png' },
{ label = 'Fanta 33cl', name = 'fanta', price = 12, image = 'https://i.ibb.co/n8mVjC4/image-removebg-preview-45.png' },
{ label = 'Sprite 33cl', name = 'sprite', price = 12, image = 'https://i.ibb.co/z4CFndX/image-removebg-preview-44.png' },
{ label = 'Uwu Bubble Tea 50cl', name = 'uwububbletea', price = 12, image = 'https://i.ibb.co/YXkF0r1/image-removebg-preview-9.png' },
}
},
{
title = 'Alcohol',
products = {
{ label = 'Bier 33cl', name = 'beer', price = 10, image = 'https://i.ibb.co/t4sBbSX/image-removebg-preview-10.png' },
{ label = 'Whiskey 75cl', name = 'whiskey', price = 25, image = 'https://i.ibb.co/Pc59kkV/image-removebg-preview-11.png' },
{ label = 'Vodka 1l', name = 'vodka', price = 22, image = 'https://i.ibb.co/hRMmZ80/image-removebg-preview-12.png' },
}
}
},
blip = {
sprite = 59,
scale = 0.8,
color = 5
},
ped = {
model = "a_m_m_salton_03",
scenario = 'PROP_HUMAN_BUM_SHOPPING_CART'
},
locations = {
vector4(-1221.4722900390625, -907.9589233398438, 12.32635116577148, 30.03417778015136),
vector4(1134.2567138671875, -983.1217651367188, 46.41580200195312, 278.6879577636719)
}
},
{
name = 'ammunation',
title = 'Ammunation',
logo = 'https://i.ibb.co/r4FdNNh/image-removebg-preview-3.png',
colors = {
bg = 'rgba(100, 100, 100, .3)',
bgGradient = 'rgba(151, 10, 10, 0.3)',
primary = 'rgba(151, 10, 10, 1)',
text = '#fff',
colorCode = '~y~'
},
categories = {
{
title = 'Weapon',
products = {
{ label = 'Handmade Pistol', name = 'weapon_snspistol', price = 25000, image = 'https://i.ibb.co/W2s7t4v/image-removebg-preview.png' },
{ label = 'Bat', name = 'weapon_bat', price = 12500, image = 'https://i.ibb.co/6s1RWKP/image-removebg-preview-2.png' },
{ label = 'Knife', name = 'weapon_knife', price = 10000, image = 'https://i.ibb.co/wRvpFXH/image-removebg-preview-1.png' },
}
},
{
title = 'Ammo',
products = {
{ label = 'Pistol Ammo', name = 'pistol_ammo', price = 1250, image = 'https://i.ibb.co/WVPjhmZ/image-removebg-preview-4.png' },
}
},
{
title = 'Armor',
products = {
{ label = 'Armor 75', name = 'armor', price = 2500, image = 'https://i.ibb.co/hgXfqG5/image-removebg-preview-5.png' },
}
}
},
blip = {
sprite = 110,
scale = 0.8,
color = 1
},
ped = {
model = "a_m_m_salton_03",
scenario = 'PROP_HUMAN_BUM_SHOPPING_CART'
},
locations = {
vector4(22.4566, -1105.4027, 29.7970, 159.5100),
vector4(1692.1571, 3760.8347, 34.7054, 229.7116),
vector4(-331.7444, 6084.8647, 31.4548, 225.3833)
}
},
{
name = 'blackmarket',
title = 'Blackmarket',
logo = 'https://i.ibb.co/cbCCX0z/image-removebg-preview-35.png',
colors = {
bg = 'rgba(100, 100, 100, .3)',
bgGradient = 'rgba(182, 181, 179, 0.3)',
primary = 'rgba(182, 181, 179, 1)',
text = '#fff',
colorCode = '~y~'
},
categories = {
{
title = 'Weapon',
products = {
{ label = 'Handmade SMG', name = 'weapon_minismg', price = 175000, image = 'https://i.ibb.co/ypGZ3hD/image-removebg-preview-31.png' },
{ label = 'Walther P99', name = 'weapon_pistol', price = 85000, image = 'https://i.ibb.co/z4VMj9B/image-removebg-preview-32.png' },
{ label = 'Machete', name = 'weapon_machete', price = 30000, image = 'https://i.ibb.co/bbsrPPf/image-removebg-preview-33.png' },
}
},
{
title = 'Ammo',
products = {
{ label = 'Pistol Ammo', name = 'pistol_ammo', price = 1250, image = 'https://i.ibb.co/WVPjhmZ/image-removebg-preview-4.png' },
{ label = 'SMG Ammo', name = 'smg_ammo', price = 2500, image = 'https://i.ibb.co/YhG0kKW/image-removebg-preview-34.png' },
}
},
{
title = 'Extra',
products = {
{ label = 'Armor 75', name = 'armor', price = 2500, image = 'https://i.ibb.co/hgXfqG5/image-removebg-preview-5.png' },
{ label = 'Lockpick', name = 'lockpick', price = 650, image = 'https://i.ibb.co/wrV10b7/image-removebg-preview-14.png' },
}
}
},
ped = {
model = "s_m_y_dealer_01",
scenario = 'PROP_HUMAN_BUM_SHOPPING_CART'
},
locations = {
vector4(-172.0696, 6142.7568, 42.6375, 30.7432)
}
},
{
name = 'mcdonalds',
title = 'McDonalds',
logo = 'https://i.ibb.co/cXn5S6N/image-removebg-preview.png',
colors = {
bg = 'rgba(100, 100, 100, .3)',
bgGradient = 'rgba(47, 135, 56, 0.3)',
primary = 'rgba(47, 135, 56, 1)',
text = '#fff',
colorCode = '~y~'
},
categories = {
{
title = 'McMenu',
products = {
{ label = 'Burger Classic', name = 'burger', price = 18, image = 'https://i.ibb.co/mR3zp52/image-removebg-preview-1.png' },
{ label = 'Burger Bleeder', name = 'burgerbleeder', price = 20, image = 'https://i.ibb.co/X5qSrRF/image-removebg-preview-4.png' },
{ label = 'Burger Topper', name = 'burgertopper', price = 25, image = 'https://i.ibb.co/BCgcGj1/image-removebg-preview-3.png' },
{ label = 'Burger Torpedo', name = 'burgertorpedo', price = 20, image = 'https://i.ibb.co/Vj0Jt5W/image-removebg-preview-22.png' },
}
},
{
title = 'Extra',
products = {
{ label = 'McPommes', name = 'fries', price = 15, image = 'https://i.ibb.co/gP9n1qj/image-removebg-preview-5.png' },
}
},
{
title = 'Drink',
products = {
{ label = 'McDrink', name = 'burgersoftdrink', price = 12, image = 'https://i.ibb.co/NYjSXpR/image-removebg-preview-6.png' },
{ label = 'McCaffee', name = 'burgercoffee', price = 10, image = 'https://i.ibb.co/BBkQ7xx/image-removebg-preview-7.png' },
}
}
},
blip = {
sprite = 78,
scale = 0.7,
color = 28
},
ped = {
model = "u_m_y_burgerdrug_01",
scenario = 'PROP_HUMAN_BUM_SHOPPING_CART'
},
locations = {
vector4(89.1916, 291.4340, 110.2074, 163.9764)
}
},
}
-- Language
-- If you want to use a custom language, set it here.
-- Be sure to not remove %s in strings, they get replaced with values.
Config.lang = {
press_e = 'Press ~INPUT_CONTEXT~ to open Shop',
press_e_qbcore = '[E] Open %s',
currency = '%s$',
add_to_cart = 'Add to cart',
your_cart = 'Your cart',
cart_products = 'Your cart contains (%s) items',
total = 'Total',
cart_empty = 'Your cart is empty...',
continue = 'Continue',
confirm_purchase = 'Are you sure you want to purchase?',
confirm_accept = 'Yes, purchase',
confirm_deny = 'No, cancel',
purchase_failed = 'Purchase failed, you don\'t have enough money.',
}
Last updated