Skip to content

Shops ​

Here's a drag'n'drop example of how to set up shops for lumberjack tools using different inventory systems. You can customize the items, prices, and locations as needed.

Tools ​

Add the shop to your ox_inventory in data/shops.lua.

lua
["LumberjackShop"] = {
    name = "Lumberjack Shop",
    inventory = {
        { name = "WEAPON_BATTLEAXE", price = 250 },
        { name = "WEAPON_CHAINSAW",  price = 500 },
    },
    -- locations = {
    --    vector3(-679.3509, 5834.3735, 17.3313), -- example location
    -- },
    targets = {
        { ped = `s_m_m_strvend_01`, scenario = "WORLD_HUMAN_STAND_IMPATIENT", loc = vector3(-679.3509, 5834.3735, 17.3313), heading = 135.3508 },
    },
}

TIP

The coordinates used above are examples. Replace them with your desired shop location.