[ESX/QB] Stores

Dependencies:

  • ESX/QB/(Known to work on QBX also) - Framework
  • All inventories supported which support (ESX/QBCore item adding, removing, item amount detection)
  • OX_Lib - Textui, Notifications. (notifications can be changed from Config to some other notify system if needed)

Preview: Click Here!

ESX - Github
shops.zip (80.8 KB) (updated)
QB Github
shops.zip (119.5 KB)
New Documentation: Docs
Original resource: Github
Our other releases: Tebex

  • After some talking with kac5amar, i decided to join codes together and use most of his code on the script with applying the UI, some code and config updates to his script and as well releasing QB version of his version of the script with updated UI.

Script Features:

Some Images:
Example 1: Black_money pawnshop

Example 2: Clean money/cash/bank pawnshop (Sell and Buy)


  • Buttons in gray color means you don’t have this item to sell or on buying its out of stock.

  • Can make shop stock refresh with every restart or have store stock saved to Json file, so the amounts wont be resetted,
    Ideal for crafting/job stores, where people can buy and sell items from jobs or just buy and sell items for crafting item needs.

  • Shop interaction distance can be changed, example if you need to add ped behind the counter and ped will be able to interact it from a little distance away.

  • Store stock can be made Unlimited (store wont have stock) and items can be sold and bought without limited amount.

  • Store can be changed only for item selling and buying option can be removed (so players can only sell items to this store, but can buy, ideal for pawnshops or black markets)

  • Notifications and UI can be translated to different languages

  • Stores can be added everywhere, just set locations, options, items and payment style.

  • Also some little neat hovering and fade in effects for the store contents.

Simply create stores by adding information to the config.

3 Different payment styles:
- Bank (On sale money will be added to the bank and on purchase money will be taken from the bank)
- Cash/Money (On sale money will be added to your inventory and on purchase money will be removed from your inventory)
- Dirty money (black_money) (On sale black_money will be added to your inventory and on purchase black_money will be removed from your inventory)

Peds:

  • You can add ped model, to make every shop have different peds
  • Enable / Disable ped with store (can have hidden store without ped or blip)
  • Make ped play added animation (can be disabled, if not needed and just make ped stand on its position).

Blips:

  • You can enable / disable blips if needed (Can have hidden store without blip or ped)
  • Can change blip ID, size, colour and blip name from the config file.

Adding items to the store:

  • Its simple to add inventories to the store.
  • Can make prices vary on script / server restart.
  • Default amount for items in the store can be set. (amount of items that are already in the store if you just added the store or wiped store data)
  • Maximum stock amount for items, every item can have different max stock amount.
Code is accessible Yes
Subscription-based No
Lines (approximately) Over 600
Requirements ESX/QB/OX_Lib
Support No
4 Likes

Seems Kinda Fishy looks like you redesined a Free Resource and selling it! Even the Config file is structured almost identical just the wording changed up a bit.

Edit
Thats a nice addition to the existing Script with given credits to Kac5amar
Thanks to EstlandiaRoleplay for taking this matter serious and to make the additional changes and make this also free to use!
:heart:

2 Likes

very true

2 Likes

This script is very nice. Thank you for make this free to use.
But i have a problem, i can’t sell items. I’m getting always this error.

Do you know what causes this error?

Heya, let me take a look, since i integrated my script with Kac-es i might have left an error to it, but can you let me know which version it is? ESX or QB

I use ESX

I’ll take a quick look as i get home and will let you know. As right now im driving a truck IRL.

should be good now, thanks for noitifying me!

i will give it a try. No problem. Thank you for you’re support

no problem :slight_smile:

Great Job, it works now! <3

Amazing support provided! and the shops are so clear and easy to set !! i really recommending this shop

@De_ejvi @JamesLarge no problemo, since our stores somehow ended up kinda close together, i decided to join the shops to revive kac5 stores, and also give it a life in qb servers as well, made it a pretty good project. Thank you for the kind words, and also for the patience on the fixes :slight_smile: