this script is really impressive nice work!
Why have you released PA’s script lol ?
Thanks for this work perfect with latest qb-core, only delete qb-shops and paste this 2 script.
I want to add sections in the shop, but it does not appear. Is that possible? Why?
You need to restart your server if you customize the location
If I want to allocate partition number 2, do I have to restart the server again or restart the script?
dose anyone know how to get the qbcore inventory itembox to show up, i tired everthing!
have two problems. The first is that when I add items to the shopping basket and delete them, it doesn’t update the money. The second is that I don’t understand where this green marker is coming from. Can you help me? i use ox_inventory
You just need to close the UI again and the prices entered in the list will disappear by themselves.
The green marker you mean probably comes from the default shop feature of Ox Inventory. You just need to delete all the lines in the ox_inventory/data/shops.lua script. like this.
can you add support for multiple jobs i did this as a example
been Loving This Shop replaced it with my current one
{
name = "Market",
label = "24/7 Market",
type = "job",
jobName = {"police", "sasp", "bcso", "sast", "lssd", "pbpd", "swat", "sapr", "grapeseedpd", "dppd", "doc", "corrections", "noose", "borderpatrol"}, -- Added all police jobs here
blip = false,
blipSprite = 59,
blipColor = 2,
blipScale = 0.5,
categories = {
[1] = {
name = "Drinks",
description = "Refresh yourself with a drink.",
items = {
{name = "water_bottle", label = "Water", perPrice = 150, description = "Stay hydrated with a cold bottle of water."},
{name = "cola", label = "Cola", perPrice = 150, description = "A classic fizzy cola to quench your thirst."},
}
},
[2] = {
name = "Snacks",
description = "Perfect for a quick snack.",
items = {
{name = "snikkel_candy", label = "Snikkel Candy", perPrice = 150, description = "A sweet and crunchy treat."},
{name = "twerks_candy", label = "Twerks Candy", perPrice = 150, description = "Fruity and chewy candy, ideal for snacking."},
}
},
[3] = {
name = "Meals",
description = "Quick meals to satisfy your hunger.",
items = {
{name = "sandwich", label = "Sandwich", perPrice = 150, description = "A freshly made sandwich, perfect for on-the-go."},
{name = "tosti", label = "Tosti", perPrice = 150, description = "A grilled tosti, crispy and delicious."},
}
},
},
pedHash = 'mp_m_shopkeep_01',
scenario = 'WORLD_HUMAN_STAND_MOBILE',
coords = {
{ped = nil, coords = vector3(2516.38, -342.3, 94.09)},
}
},
}
Absoultely LOVE the UI i need this BUT does it work with ox_inventory? Using qb-core as well just ox_inventory not qb-inventory
get all the sources here