Advanced Purchaseable Market Script!
Both ESX and QBCore compatible.
Full responsive.
if you have any ideas, question feel free to say
Preview
Purchase
[ESX] Purchase Open Source via Tebex
[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 |