[FREE][ESX][QB] Wasabi's Player Owned Shops [Ox Inventory]

wasabi_oxshops


https://i.imgur.com/i0CI67V.gif


This resource was created as a free script to allow those with ox_inventory to have player owned shops

Features

  • Supports ESX(Will port for QBCore soon)

  • Utilizes ox_inventory UI / stashes / shops / functions

  • Stock and set your own prices per product

  • Ability to add blip to location

  • Ability to add boss menu

  • Deposits profits into society account of shop

Dependency

Installation

  • Ensure you have dependencies installed / started prior to this script

  • Put script in your resources directory

  • Add ensure wasabi_oxshops in your server.cfg

Extra Information

  • Will add likely quite a few more features so stay tuned.

Preview

YouTube - Wasabi Ox Shops

Download


My Other Releases:

Props:

35 Likes

Very nice

wasabi. i love u

qs-inv qbcore !!

3 Likes

How can I duplicate without breaking the first store

Here is the original 1 store:

Config.Shops = {
    ['uwucafe'] = { -- Job name
        label = 'UwU Cafe',
        blip = {
            enabled = true,
            coords = vec3(-583.37, -1060.80, 22.34),
            sprite = 279,
            color = 8,
            scale = 0.7,
            string = 'UwU Cafe'
        },
        bossMenu = {
            enabled = true, -- Enable boss menu?
            coords = vec3(-597.07, -1053.40, 22.34), -- Location of boss menu
            string = '[E] - Access Boss Menu', -- Text UI label string
            range = 3.0, -- Distance to allow access/prompt with text UI
        },
        locations = {
            stash = {
                string = '[E] - Access Inventory',
                coords = vec3(-588.59, -1066.42, 22.34),
                range = 3.0
            },
            shop = {
                string = '[E] - Access Shop',
                coords = vec3(-583.37, -1060.80, 22.34),
                range = 4.0
            }
        }
    }, -- Copy and paste this shop to create more
    
}

I will show example with 2 stores:

Config.Shops = {
    ['uwucafe'] = { -- Job name
        label = 'UwU Cafe',
        blip = {
            enabled = true,
            coords = vec3(-583.37, -1060.80, 22.34),
            sprite = 279,
            color = 8,
            scale = 0.7,
            string = 'UwU Cafe'
        },
        bossMenu = {
            enabled = true, -- Enable boss menu?
            coords = vec3(-597.07, -1053.40, 22.34), -- Location of boss menu
            string = '[E] - Access Boss Menu', -- Text UI label string
            range = 3.0, -- Distance to allow access/prompt with text UI
        },
        locations = {
            stash = {
                string = '[E] - Access Inventory',
                coords = vec3(-588.59, -1066.42, 22.34),
                range = 3.0
            },
            shop = {
                string = '[E] - Access Shop',
                coords = vec3(-583.37, -1060.80, 22.34),
                range = 4.0
            }
        }
    }, -- Copy and paste this shop to create more

    ['mcdonalds'] = { -- Job name
        label = 'McDonalds',
        blip = {
            enabled = true,
            coords = vec3(123.22, 123.22, 123.22),
            sprite = 279,
            color = 8,
            scale = 0.7,
            string = 'McDonalds'
        },
        bossMenu = {
            enabled = true, -- Enable boss menu?
            coords = vec3(-597.07, -1053.40, 22.34), -- Location of boss menu
            string = '[E] - Access Boss Menu', -- Text UI label string
            range = 3.0, -- Distance to allow access/prompt with text UI
        },
        locations = {
            stash = {
                string = '[E] - Access Inventory',
                coords = vec3(-588.59, -1066.42, 22.34),
                range = 3.0
            },
            shop = {
                string = '[E] - Access Shop',
                coords = vec3(-583.37, -1060.80, 22.34),
                range = 4.0
            }
        }
    }, -- Copy and paste this shop to create more
    
}
4 Likes

This thing is bussin :fire:

Thank you for the kind replies :slight_smile:

2 Likes

imagine

2 Likes

A change that you make it that the can buy them no job needed ?

Can items be restricted?

this is job shop with stock, not player owned right

1 Like

image

niceee :slight_smile: waiting for the qb core version :slight_smile:

3 Likes

I’ll be linking the ownership of shops per user rather than to a specific job, adding optional whitelist for which items allowed, and garages for employees

5 Likes

nah, see the code first. its by job.

Wasabi u legend!!

2 Likes

Hermoso, siempre haces scripts increĂ­bles para la comunidad de forma gratuita, nos ayudas mucho, gracias hermano.

2 Likes

How can this be converted for other inventories?

Another one ! Really awsome job bro, i love it :smiling_face_with_three_hearts:
Is it possible to add multiple stash locations for diff type of items ?