Addiction Script

14.99 USD

Addiction Script

Description

Addiction Script [ESX, QBcore, Qbox, Standalone]

## πŸ“š Dependencies

## TODO

  • Check if you have all the dependencies
  • Add 'ensure lc_addiction' in your server.cfg
  • Choose your langage by puting *setr ox:locale en* or *setr ox:locale fr* in your server.cfg
  • If you have the last version of ox_lib, player can do the command "ox_lib" IG and change the language
  • Beware of overdose!

## Features

  • Addiction, more you use an item, more you will be addict on it
  • Alcohol, Smoking, Weed, Cocaine, Heroine addictions are already set but you can add your own one ! (exemple : sugar addiction, everytime you don't eat healthy food, you will have a sugar addiction with withdrawal effects)
  • Items are consumed multiple times and no longer in a single use (exemple : beer need 3 use to dissapear, bottle need 7 uses,.. everything is configurable)
  • Use drugs/alcohol item with many effects (timecycle, camshake, clipset, spawnPed, sound, video, ..)
  • Different animations when using items, smoking, eating, drinking, sniffing and injecting syringue
  • Item can have bonus effects like gain health, armor, increase speed.
  • Overdose system : If you are too much addict to something and you continue to consume item for that addiction, you will increase the possibility to do a overdose.
  • Medication system : doctor can help you fight your addiction by giving you a treatments but follow the dosage, if you don't follow, you risk to decrease you health, vomit or coma
  • You can replace the notifs by your own system (client/custom.lua)
  • Add your own code when using certain item, reduce stress, add/reduce hunger, or whatever you want (see 'custom.usingItem' function in client/custom.lua)
  • Config highly configurable
  • Support ESX, QBcore, QBox, custom framework (for the last one, you have to add the code of your framework yourself)
  • Language en and fr
  • Work with ox_inventory, qs_inventory and tgiann_inventory but you can adapt to your inventory

## Command

  • Use "/addiction" command to open the addiction menu
  • Use "/medication" command to open the medication menu

## πŸ‘ Credit

While this script is entirely custom and written from scratch, some of its features were inspired by the design and behavior of other systems such as DEVCORE Realistic Needs, Hito Drug Effects, and Rcore Drunk System. Respect to the original authors for their influence on the final vision.

Thanks to the Overextended and Community ox team for generously providing the resources that have empowered me to bring this script to life. (ox_lib and ox_target)

## Discord

If you have any question or need support :

My Discord

## Preview

Youtube


< Go back to scripts