[ESX] [PAID] Advanced Drug Addiction System | gm_drugaddiction

PREVIEW:
https://www.youtube.com/watch?v=VaY2EEp14kw

Code is accessible Only config file
Subscription-based No
Lines (approximately) 800+ Full file
Requirements Ox lib, es_extended [ESX], oxmysql, ox_inventory
Support Yes

Features:

• Multiple drugs with customizable properties (addiction rates, withdrawal times, effects, and icons).
• Addiction levels increase with drug use and over time.
• Configurable severity levels with color coding.
• Custom animations, screen effects, walking styles, and dizzy effects.
• Timed withdrawal symptoms with configurable effects.
• Seek treatment at hospitals with configurable costs and addiction reduction.
• EMS can prescribe medication.
• Medication schedules and withdrawal risks for missed doses.
• Ox_lib menu with progress bars and color-coded severity.
• Configurable notification placement and duration using ox_lib.
• Chat messages for addiction level increases.
• /myaddictions to view addiction levels.
• /seektreatment for treatment at hospitals.
• /prescribemedication for EMS to prescribe medication.
• /showplayerprescription for EMS to view player prescriptions.
• /myprescription for players to view their own prescriptions.
• /clearaddiction for admins to clear addictions.
• Addiction data saved and loaded from a database.
• Addiction levels affect gameplay and require regular medication use.
• Hospital locations for treatment and waypoint setting.
• Extensive options in config.lua for easy adjustments.

TEBEX: Purchase Here ($15.00)

Update 1.1.0:

• Added a option to change random addiction increase time, also being able to enable or disable it Config.AddictionIncrease

• Added debugging option Config.Debug

Files updated and changed
• server/main.lua
•`client/main.lua
• config.lua

“After purchasing, I realized that I cannot customize my own language. I hope there can be support for customizing languages. :joy:

I will add locales soon👍 Join the discord to get informed about updates and more Gucci's Modz

1 Like

Update 1.1.2:
for gm_drugaddiction

• Added so you able to set the time a drug screen effect kick in after taking it to different drugs kickInTime = (Config file)

• Added so you able to change the screen dizzy intensity to different drugs dizzyIntensity = (Config file)

• Added so you able to add drug packs, basically opening drug packs with the animation and progress bar and you can set what and how many items you get from the pack Config.DrugPacks (Config file)

Note:
• If you don’t want the dizzy effect just put Config.EffectDurations = { dizzy = 30000 to 0 (This is at the very bottom of the config)