This is a script designed to be a versatile way for players in your server to sell the drugs they farm/craft. The script was born out of the necessity to address issues encountered with similar scripts, and to give players an ability to choose how they sell their drugs. Players can either choose to sell to peds on the street, which can pay more but with increased risk of police attention. Then there’s selling in bulk, which requires a configurable amount of drugs, and will give players a spot to meet a ped and handle the exchange, but for less than what they would make on the street. I hope you guys enjoy this resource as much as I did working on it.
Features
Performance-oriented design.
Reliable and secure functionality.
Utilizes ox_lib for seamless integration.
Command or Usable Item interaction.
Allows support for as many drugs as you need.
Different sale methods, with configurable pay.
Street Sales can be spawned or fetched from game pool.
Configurable police requirement, and police can’t sell.
Hey, was playing around with it for ages I have QBCore but isn’t working, but then I seen the QBCore soon on the github haha, any update when it’s QB compatible? seems like a fun script
Thank you for creating such an amazing script for free! unfortunately im running into an error code when trying to sell, on the street or bulk:
error during NUI callback clickContext: citizen:/scripting/lua/scheduler.lua:739: SCRIPT ERROR: @r_drugsales/client/main.lua:197: attempt to index a nil value (global ‘Target’)
poolStreetSale (@r_drugsales/client/main.lua:197)
ref (@r_drugsales/client/main.lua:416)