DXS STORES
A versatile and easy-to-configure multi-location store system for the VORP framework on RedM.
Last updated
A versatile and easy-to-configure multi-location store system for the VORP framework on RedM.
Last updated
ensure DXS_storeConfig.Debug = false
Config.Notify = "vorp" -- "okok", "vorp", "default"
Config.SellPercentage = 0.5 -- The percentage of the original price at which items are sold back
Config.OpenKey = 0xCEFD9220 -- E Key["valentine_general"] = {
label = "Valentine General Store", -- Name of the store
store_type = "both", -- "both", "buy", or "sell"
blip = { show = true, sprite = 1475879922, name = "General Store" }, -- Map blip settings
npc = {
enabled = true,
model = "U_M_M_StrGenStoreOwner_01", -- NPC model
coords = vector3(-324.5, 803.2, 115.9), -- NPC location
heading = 97.5 -- NPC heading
},
categories = { -- Item categories for this store
{ name = "food", label = "Food" },
{ name = "drinks", label = "Drinks" }
},
items = { -- Items sold in this store
-- Food
{ name = "bread", label = "Bread", category = "food", price = 2 },
{ name = "meat", label = "Cooked Meat", category = "food", price = 5 },
-- Drinks
{ name = "water", label = "Bottle of Water", category = "drinks", price = 2 },
{ name = "coffee", label = "Coffee Cup", category = "drinks", price = 4 }
}
},