Drug selling with fluctuating prices
A 2.0 version of my previous script: Old version
Players take a gamble as they barter the prices for their drug sale while prices fluctuate across the city as certain drugs flood the street and demand drops. A dynamic price system and interesting reputation bonuses keeps players engaged.
Features
- Supports QBox, QB, ESX, or custom frameworks
- Custom UI: Bartering menu made in React that shows price fluctuation
- Price fluctuation: Each drug price fluctuates over time with different prices in each zone. Prices still fluctuate without player interaction so city feels alive and players can wait for perfect time!
- Reputation system: Reputation can rise and fall and yields customizable benefits
- Configuration: Multiple configuration files totaling 700 lines that are easy to read and understand
- Animation and props: Props for each drug and various animations for each situation
- Zones: Zones across the map that have different selling conditions, police chances and prices
- Robbery: Different robbery chances per reputation and per zone. Can kill robbery and take drugs back
- Integrations: Auto detects integrations! Supports all major dispatch systems and all major notify resources. Skill system integration for charisma bonus.
- Police requirement: Require police or allow selling without police at reduced price. Option to increase selling price when more police above requirement are online
- Drug purity: Support for drug purity metadata to allow for bonuses in price or reputation when selling high quality product
Dependencies
ox_lib
The resource will auto detect your dispatch resource (All major supported, easily add custom)
The resource will auto detect your notify resource (All major supported, easily add custom)
The resource will auto detect your target resource (All major supported, easily add custom)
The resource will auto detect your skills resource (ss_skills and src_skills, easily add yours)
Framework
Works with QBox by default. Easily change to ESX, QB or custom by toggling the configuration option.
More technical information
Price fluctuates for each drug, specific to each zone. So price of coke in Sandy will likely be different than in Hollywood. When players sell large amounts of drugs they can tip the momentum of the price and cause it to drop.
View configuration files here:
Config
Advanced config
Reputation config
The reputation system allows reputation to rise and fall according to player actions. Killing customers or getting arrested will result in lost reputation while selling high quality product consistently will build reputation.
Reputation levels have various bonuses
Code is accessible | Yes (Some escrowed, but source version available) |
Subscription-based | No |
Lines (approximately) | 3500 |
Requirements | ox_lib |
Support | Yes |