A simple script with multiple fun effects
TEBEX preview: https://www.youtube.com/watch?v=utXvM1p1xMA
SHOWCASE
Features
- Frameworks: QBX, QBCore, ESX
- Advanced drug addiction system with persistent database saving
- Per-drug addiction chance, addiction growth, and recovery timers
- Configurable overdose system based on total drug strength
- Configurable withdrawal system with screen effects, camera shake, health drain, and movement penalties
- Unique drug effects per item: health, armor, speed, stamina, walking styles, ragdoll chance, vehicle restriction, and more
- Optional audio distortion effect during active drug effects
- Local psychedelic effects included:
- clone follow hallucinations
- alien hallucinations
- trip preset effects inspired by classic GTA-style visuals
- Reusable effect presets for easy expansion and clean configuration
- Medication system to reduce or fully cure addictions
- Modern NUI addiction panel with live addiction/immunity display
- UI can be opened by command and supports focus/close handling
- Admin ACE commands included to force or clear addictions
- Server exports included for full integration with other resources
- Locales support included: English, Spanish, and French
- Lightweight and optimized client/server structure
- Highly configurable for custom drugs, medications, animations, presets, and framework/inventory settings
Dependencies
- ox_lib
- oxmysql
- Frameworks: QBX, QBCore, ESX
- Inventory depending on your setup:
ox_inventory recommended
Installation
- Place the script folder inside your resources
- Configure your framework, inventory, notifications, commands, and gameplay settings in config.lua
- Configure all drugs, medications, animations, and special effects in drugs.lua
- Import or create the required drug and medication items in your inventory
- Import the included SQL table
Ensure your resources in this order:
- ox_lib
- oxmysql
- your framework
- your inventory
- ys_drugsaddiction
Included Admin Features
Force addiction on any player
Clear one addiction or all addictions from any player
Configurable admin command names
ACE permission based protection