Script [ESX/QB] Stores

1 Followed
283 Follower

Adrian_chupi

Admin

Aug 13, 2023

3,085 Mesaj

8,182 Reaction

0 Solution

113

First Message

100 Messages

500 Message

1K Message

No reward!

Joined
Aug 13, 2023
Messages
3,085
Reaction score
8,182
Points
113
Location
SPAIN
Credits
1,727
ESX -
(16.9 KB)
QB
(119.5 KB)
New Documentation:
Original resource:
Our other releases:





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)


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.
 

Topics

5,143

Messages

8,728

Members

49,998

Latest member

oskix

Top