[PAID] [QB] Heroin Processing

Preview Video

Purchase via Tebex


Features

  • Process heroin to sell to other players or consume for configurable effects
  • Pick opium plants, steal lime, ether and hydrochloric acid to make heroin base
  • Process heroin base, acetone and noscapine to make pure heroin
  • Make a vial of heroin using the pure heroin, scales and empty vials
  • Consume heroin for visual screen effects and player buffs such as armour and stress removal
  • A chance to overdose if consuming too many drugs with configurable effects
  • Consume overdose cure to reduce your chances of overdosing and coming to an untimely demise!
  • Extensive config file
  • Language settings for custom translations

Supported Scripts

Notify

  • qb-notify
  • okokNotify
  • mythic_notify
  • ox_lib notify

Menus

  • ox_lib menu

Targets

  • qb-target
  • ox_target

Inventories

  • qb-inventory
  • ox_inventory

Police

  • qb-policejob
  • ps-dispatch

Phones

  • qb-phone
  • qs-smartphone
    [easily add your own phone support]

Dependencies


Check Out My Other Scripts Below

Job Scripts


Activities Scripts


Drug Scripts


Script Bundles

Code is accessible Yes/ open source
Subscription-based No
Lines (approximately) 1500+
Requirements qb-core, qb-target, qb-inventory, qb-phone, ox_lib
Support Yes

Script Update

Version 2.0.0

  • Major refactor of code to imrprove performance and remove unnecessary code
  • Improved config file for a better understanding
  • Improved cooldown timers for events
  • Improved targets for some events and added props for greater realism
  • Completely re-wrote how opium plants spawn, you can now define your own custom locations for each plant
  • Added a respawn timer that automatically deletes the plants and respawns them after a configured time
  • Majorly Improved the chemicals supply mission - now has random start and finish destinations to prevent abuse
  • Improved processing and checks for items and amounts
  • removed progressbar for all events and functions and utilised lib.skillcheck and lib.progresscircle for a cleaner UI with more features
  • Improved notifications function to prevent repeat code
  • Improved how peds spawn and added local entity to prevent issues
  • Improved distance and checks for picking opium plants
  • Improved processing table spawning and removals
  • Improved consumption of drugs and overdose events
  • Added various checks for security and to prevent exploits
  • Improved resoruce stopping and starting events
  • Improved callbacks for items and amounts
  • Improved shops for ox_inventory - resource now creates the shops automatically - remove any previous snippets to work correctly
  • Various other QOL improvements and features
  • Updated README file

Script Update
Version 2.0.1

  • Added direct support for latest qb-inventory methods removing the use of Player.Functions.Add/Remove Items
  • Added direct support for latest qb-inventory methods of shops
  • Updated README file and included item list for ox_inventory
  • Added Config.CoreSettings.DrugScripts settings to true disables any target models that are duplicated in other scripts to prevent issues
  • Updated Config.Processing and removed the return amounts - this is now controlled via a function search for calculateHeroinReturn(DrugXP) in heroin_server.lua
  • Re-written how items are given and removed for better performance and prevent duplicate code
  • Improved animations for better customisation
  • Improved target security for qb and ox
  • Improved drug effects function if not using overdose system
  • Added item images to menu
  • Various other QOL and security improvements and features
  • Removed qb-menu support as ox_lib has more features
  • Removed support for jim-shops in favour of new qb-inventory shops to reduce potential issues from non updated scripts

Script Update

Version 2.1.0

  • Major refactor of code to increase performance, introduce new features and increase security to prevent exploits and abuse
  • Improved props and target model options associated with them
  • Improved how items are given and removed for better performance and increased security
  • Major improvements to XP system
  • Improved some animations
  • Improved cooldown timers for various events
  • Completely re-wrote consumables method to allow for better customisation
  • Various other QOL improvements and new features
  • Improved version check information
  • Removed some items that are no longer used
  • Removed placeable processing tables in favour of static tables that spawn at random locations instead
  • Removed menus.lua file as menu is now built dynamically
  • Removed progressbar section from language file as its not needed anymore
  • Removal of overdose system [this is due to a script coming in future to cover all drug overdose types]