This is a simple pawnshop plugin for ESX. For some reason there aren’t a lot of these plugins out there so I made my own version. I used some code from esx_drugs.
Features
Sell specific items to the pawnshop
Easy configuration
Possibility to add more items or change current items that can be sold
Possibility to enable opening hours and change the opening hours to your liking
Download
Installation details can be found on the github as well. Make sure you install all the dependencies otherwise it will cause errors.
Configuration
In the config.lua you can change what items can be sold, you can also change the pawnshop location and other various things.
The default items in the config are items from my plugin r3_prospecting so if you don’t use this plugin change the items to items you have in your server.
Preview
Here’s a preview of the plugin:
And a screenshot of how it looks when approaching the pawnshop:
Ive got an error when the item to sell starts with a number, for example: 2ct_gold_chain = 3000,
error on console: Error parsing script @rl_pawnshop/config.lua in resource rl_pawnshop: @rl_pawnshop/config.lua:30: ‘}’ expected (to close ‘{’ at line 7) near ‘=’
rl_pawnshop is not my resource but I think you changed the name, it looks like you forgot a “,” somewhere without the " " ofcourse. Do you have your edited config file for me?