HW Development - Pawnshop
This script introduces a pawnshop feature to your FiveM server, offering an immersive and dynamic way for players to sell items. With a user-friendly configuration file (config.lua), setting up and customizing the pawnshop functionality is a straightforward process.
Installation
Ensure you have the required dependencies installed:
- ox_lib
- qtarget
- es_extended
Integrate the script into your server’s resource folder.
Configuration
> Multiple Sell Shops: Configure multiple sell shops, providing flexibility and variety for players.
> ox_lib Integration: Leveraging the power of ox_lib, this script optimizes player ped caching, context menu, input dialogs, notifications, and callbacks, resulting in a seamless and efficient experience.
> Configurable Shop Ped: Tailor the appearance and behavior of the shop ped according to your server's theme and preferences.
> Blips (Optional/Configurable): Enable or disable blips for the pawnshop on the map, allowing server administrators to choose the level of visibility for players.
> Payment Currency Configuration: Set configurable payment currencies for different items, adding a layer of realism and diversity to the economy.
> Minimal Resource Usage: With an impressive 0.00ms usage, this script ensures optimal server performance.
Pretty self-explanatory in the config.lua
Dependencies
- ox_lib - GitHub - overextended/ox_lib: A FiveM resource and script library for Lua and JS.
- qtarget - GitHub - overextended/qtarget: Use ox_target instead.
- es_extended - GitHub - esx-framework/esx_core: Official Repo For core resources for esx-legacy
Features
- Multiple sell shops
- ox_lib utilized for cached player ped, context menu, input dialog, notifications, and callbacks
- Configurable shop ped
- Configurable / optional blips
- Configurable payment currency per item
- 0.00ms usage
Previews
Tebex link:
|-------------------------------------|----------------------------|
| Code is accessible | No, its not atm |
| Subscription-based | Not needed |
| Lines (approximately) | 200+ |
| Requirements | See above |
| Support | Yes, please join our discord |
|-------------------------------------------------------------------|