Hi everyone
first watch video:
Well, in this script, we used the advanced UI menu
We can implement personal functionality for any store anywhere in the city
for example:
A store can have pizza, but another store in another place in the city does not have pizza
We can have some features below:
- Specify infinite stores without location restrictions
- Unlimited number of items for each shop
- Specify the desired price for each item in each store
- The ability to set a limit for the number of items
- Ability to pay both by card and cash
- When leaving the store, the shopping cart is empty
features:
Open source | Yes |
usage | 0.0 |
Subscription-based | Yes |
Requirements | all ESX version , mysql-async or oxmysql |
Support | Yes |
Config File:
Config = {
ESX = true, -- If you are using this version, activate it
DrawDistance = 5.0, -- The distance until the markers are identified
Marker = {
["size"] = {x = 0.5, y = 0.5, z = 0.20}, -- Marker Size
["type"] = 20, -- Marker Type
["color"] = {r = 200,g =200 , b = 100, alpha = 200}, -- Marker color and alpha
["rotate"] = false, -- rotate marker
["text"] = true -- Write the text above the marker
},
Shops = { -- Shop zones and settings
["a"] = {
["actions"] = { -- All shelves can be activated and deactivated
{x = 25.73, y = -1347.27, z = 29.5, value = "checkout", label = "Check Out", status = true}, -- This part should be available in all stores
{x = 27.50, y = -1345.25, z = 29.5, value = "drinks", label = "Drinks", status = true}, -- The drinks section
{x = 28.99, y = -1342.62, z = 29.5, value = "snacks", label = "Snacks", status = true}, -- Snacks section
{x = 32.45, y = -1342.96, z = 29.5, value = "readymeal", label = "Ready Meal", status = true}, -- Prepared food section
{x = 25.67, y = -1344.99, z = 29.5, value = "diverse", label = "Diverse", status = true}, -- Various goods section
},
["Items"] = {}, -- Do not change this part
["blip"] = {
x = 29.41, y = -1345.01, z = 29.5 -- The location of the blip
}
},
["b"] = {
["actions"] = {
{x = 373.9, y = 325.883, z = 103.55, value = "checkout", label = "Check Out", status = true},
{x = 376.00, y = 327.916, z = 103.55, value = "drinks", label = "Drinks", status = true},
{x = 374.49, y = 327.95, z = 103.55, value = "diverse", label = "Diverse", status = true},
},
["Items"] = {},
["blip"] = {
x = 374.49, y = 328.03, z = 103.55
}
},
}
}
function Notify(msg) --You can customize the notification system
ESX.ShowNotification(msg) --default esx notifaction
end
Other script