External Shop

-- create a shop server side
local items = {
    {item = "water", buyPrice = 10, sellPrice = 5, stock = 10}, -- buy, sell & stock enabled
    {item = "water", buyPrice = 10, sellPrice = 5}, -- buy, sell enabled
    {item = "water", buyPrice = 10}, -- buy enabled
    {item = "water", sellPrice = 10}, -- sell enabled
}
exports['ak47_inventory']:CreateShop('shopUniqueId', 'Shop Name', items, 'cash')

Last updated