Sell Shops for Ox Inventory
A simple script to create peds who will buy items from players. You can create as many buyers as you want, each with unique list of items they will purchase and what they will pay. You can even get creative and pay the players using special items or set up some kind of psychotic scavenger hunt where you go from buyer to buyer to trade for the next item.
The script assumes you have money set as an item. If you are not using money as an item, you will need to code that logic in yourself. You can reward any item to the player that you want in exchange for whatever the ped is buying.
Features:
If you prefer to keep things on your CFX Portal (keymaster), you can grab the resource here as well
Support
There is no official support for this script. It was written for use with Ox inventory on a QBox server with no thought on expanding to other frameworks or inventories. However, if you have questions or suggestions, please feel free to hop in the discord:
A simple script to create peds who will buy items from players. You can create as many buyers as you want, each with unique list of items they will purchase and what they will pay. You can even get creative and pay the players using special items or set up some kind of psychotic scavenger hunt where you go from buyer to buyer to trade for the next item.
The script assumes you have money set as an item. If you are not using money as an item, you will need to code that logic in yourself. You can reward any item to the player that you want in exchange for whatever the ped is buying.
Features:
- Functions secured to prevent exploits
- Natively compatible with QBox and Ox inventory
- Ox lib
- Ox Target
- Ox Inventory
If you prefer to keep things on your CFX Portal (keymaster), you can grab the resource here as well
Support
There is no official support for this script. It was written for use with Ox inventory on a QBox server with no thought on expanding to other frameworks or inventories. However, if you have questions or suggestions, please feel free to hop in the discord: