Advanced Market - Purchaseable - STG_Market - [ESX] [QB]

Advanced Purchaseable Market Script!
Both ESX and QBCore compatible.
Full responsive.

if you have any ideas, question feel free to say :heart:

Preview

Full Preview

Purchase

:shopping_cart: [ESX] Purchase Open Source via Tebex

:shopping_cart: [QBCore] Purchase Open Source via Tebex (Updated)

Config

STG = {}

STG.ImageLocation = "nui://qb-inventory/html/images/"
STG.BuyMarket = true

STG.Locale = {
    money = "You have no money!",
    buymarket = "You bought a market!",

}

STG.Blip = { -- https://docs.fivem.net/docs/game-references/blips/
    sprite = 59,
    scale = 0.7,
    color = 3,
    name = "[Selling] Market"
}


STG.ThemeBlipColor = { -- https://docs.fivem.net/docs/game-references/blips/
    orange = 17,
    red = 1,
    green = 2,
    purple = 7,
    pink = 8,
    blue = 3
}

STG.defaultItems = { --Items from unbought markets
 --   bread = 300,
   -- water = 200
   coffee = 10
}

STG.DefaultTheme = "pink" -- theme of unbought markets

STG.Shops = {
    [1] = {
        coords = vector3(25.99, -1347.71, 29.5),
        price = 4500,
    },
    [2] = {
        coords = vector3(1729.12, 6414.13, 35.04),
        price = 13400,
    },
    [3] = {
        coords = vector3(-48.7, -1757.75, 29.42),
        price = 14400,
    },
    [4] = {
        coords = vector3(-1222.59, -906.63, 12.33),
        price = 13400,
    },
    [5] = {
        coords = vector3(-707.61, -914.76, 19.22),
        price = 12400,
    },
    [6] = {
        coords = vector3(1136.16, -982.69, 46.42),
        price = 13400,
    },
    [7] = {
        coords = vector3(374.05, 325.54, 103.57),
        price = 6400,
    },
    [8] = {
        coords = vector3(1163.23, -324.07, 69.21),
        price = 15400,
    },
    [9] = {
        coords = vector3(2557.74, 382.34, 108.62),
        price = 14400,
    },
    [10] = {
        coords = vector3(-3039.01, 586.24, 7.91),
        price = 11400,
    },
    [11] = {
        coords = vector3(-3241.65, 100.1, 12.83),
        price = 18400,
    },
    [12] = {
        coords = vector3(-2968.29, 391.17, 15.04),
        price = 17400,
    },
    [13] = {
        coords = vector3(-1820.62, 792.32, 138.12),
        price = 12400,
    },
    [14] = {
        coords = vector3(547.43, 2671.63, 42.16),
        price = 11400,
    },
    [15] = {
        coords = vector3(1165.65, 2708.97, 38.16),
        price = 17400,
    },
    [16] = {
        coords = vector3(2679.31, 3280.61, 55.24),
        price = 12400,
    },
    [17] = {
        coords = vector3(1961.81, 3740.42, 32.34),
        price = 16400,
    },
    [18] = {
        coords = vector3(1392.24, 3604.49, 34.98),
        price = 11400,
    },
    [19] = {
        coords = vector3(1698.08, 4924.88, 42.06),
        price = 12400,
    },
    [20] = {
        coords = vector3(1729.17, 6414.04, 35.04),
        price = 16400,
    },
    
}

Interface




OTHER SCRIPTS

Custom Frame with URL
Crosshair + Hitmaker
Purchaseable Garage
Chess
Taser
Wallet

Code is accessible No
Subscription-based No
Lines (approximately) 1300
Requirements es_extended or qb-core
Support Yes
4 Likes

Looks great! Are you able to change the β€œ24/7” like you did the β€œMarket” and can you have different names for each shop?

1 Like

thanks! yes u can change it, and yes u can set names for each shop.

1 Like

settings for each store are different

Even if they are not player owned, everything can be edited ?

1 Like

no, only those who own the market have the right to edit

If the player is not the owner of the market, the setting icon in the upper right will not appear, you can view it from the video.

not even in the config?

1 Like

Can you make it so the owners have to pay for the items in there stores? As it looks right now they can just add as much quantity as they wish for free.

1 Like

i can custom edit for u

I’m good thanks. I can program as well :+1:

1 Like

I was amazed by your beautiful balance as a design. If you’re having trouble centering the design, I can help you with that. :smiling_face_with_three_hearts:

amazing :slight_smile: