Temouchenty / qb-shops

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shop system include innovations like:

  • Items have their own pool if the player buy item then removes the item from the pool
  • Player can sell item if Player sell it then the item goes to the item pool
  • If the player buys the item/items money goes to the player that listed item in the shop
  • If the sum of the seller’s account is lower than the price for the items the player wants to sell, he will not be able to sell them

Requirements:

  • Script is working only on the newest qbcore framework
  • This script need oxmysql and qb-menu to work properly

Open shop event:

shop = Shop name

TriggerEvent("shop:OpenMenu", shop)

About


Languages

Language:Lua 100.0%