About script
The script will allow you to induce an addiction that forces the player to either take the drug again or enter treatment.
Also the script will allow you to add unlimited subject for addiction and even medication.The script supports adding an infinite amount of drugs and addictions.
The script is created as a dynamic system so it assumes you have some items to drug or addict on the server.
The script also contains a stage for which the effects it causes can be set and the effects can be combined.
Just set them in the config afterwards.
Addiction stages
Each addiction can have multiple stasis and each can do multiple effects or combine them.
Preview
Dependencies
- ox_lib - GitHub - overextended/ox_lib: A FiveM resource and script library for Lua and JS.
- oxmysql - GitHub - overextended/oxmysql: MySQL resource for FXServer.
Useful exports
exports.pls_addiction:openMenu() -- Open addiction menu
exports.pls_addiction:addAddiction(addictionName, value) -- Add addiction
exports.pls_addiction:removeAddiction(addictionName, value) -- Remove addiction
exports.pls_addiction:resetAddiction() -- Reset all addictions
Store
Escrow version here
Source version here
Other resources
In game vehicle shop creator
Moonshine distillery
Mower job
Keycards - Heists DayZ / Tarkov Inspired
Weed growing
Job calls - Order delivery
Advent calendar
Danger delivery - Ilegal shipment heist for multiple players
Scrapyard - Scrap NPC vehicles
or for more check my store.
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | 600+ |
Requirements | ox_lib, oxmysql |
Support | Yes |