🟣EZ Lean Drug
Lean Drug is a roleplay drug processing script.
STEP 1 - Unzip and Add Script To Server
Unzip the script folder within your server resources folder. Ensure script in server.cfg ... "ensure ez_leandrug".
STEP 2 - Script Configuration
Script config located in shared/config.lua
allows you to create multiple locations for different jobs, customise the job crafting (creating items from other items), usable items effects (armor, stress, time, ...), and so much more.
Stress Setup
If your server uses a stress system, you can configurate the function to remove stress...
This is used when your player consumes an item which reduces stress. This can be configured for each item in the config file.
Thirst Setup
Every RP server has a thirst and hunger system. This function allows for thirst to be relieved (e.g. drink water)...
Tracking System
This is an optional feature, which allows you to track the codeine trucking...
You can update police alert. The item set is used to remove the tracker and the RemoveTracker
function is what is called. It sets PoliceAlert.enabled to false when removed tracker.
Each location can have tracking system on or off, with a time interval with how long it takes for police to be notified each time.
Evidence Setup
If your server uses a evidence script, for checking if a player is high, you can set it up within the config file, by modifying the evidence function...
It is optional. You do not require a evidence system. Above is already setup for default QB-Core.
STEP 3 - Dependancy
Requires ez_lib!!! Download the script.
https://github.com/EZ-Scripts/ez_lib Ez_lib is required to be configurated to your Framework seperately. It can easily be switched from QBCore and ESX with ox_lib, ox_target and ox_inventory support. Anyother custom frameworks require ez_lib to be modified. Everything is set out in a simple way.
Ez_script is fully open source and acts like a bridge between other frameworks to allow you to run our fivem scripts on any framework you want to, even your own custom framework.
Last updated