DEPEDENCIES
Required resources
- es_extended / qb-core
- K4MB1 Lab Shells Pack [INCLUDED]
- K4MB1 High End Labs [OPTIONAL] [NOT INCLUDED]
- menu_default [INCLUDED] (only for qb core)
CFX ESCROW
ASSET IS PROTECTED WITH CFX ESCROW
This script is utilizing FiveM's Asset Escrow system. This means few files are encrypted to protect our work but do not worry - it is extremely customizable.
HIGHLIGHTS
Key features (TL;DR)
- Supplies Job – Players can start a drug supplies job through an NPC, involving killing goons, stealing a van, and delivering supplies to a new location. The job supports coke, meth, and weed by default, but additional drugs can be configured. Ideal for 2+ players and roleplay scenarios.
- Drug Labs – Fully synced drug labs allow gangs to control them and police to raid. Labs are customizable by drug type and shell object type, where processing and packaging take place. Add/remove locations, NPCs, weapons, and more via the config.
- Processing – Players hand over required items to an NPC, who processes the drugs over a configurable time. Only one player can process at a time, and players must protect their processed drugs. Drugs can also be converted using an input/output system in the config.
- Packaging – Only one player can package drugs at a time with synchronized animations. If a player has a high-quality scale, they receive a bonus on the total drug output. Weed can also be rolled into joints if rolling papers are in the player’s inventory.
- NPC Sales – Players can sell packaged drugs to NPCs around the map using the optimized /sell drugs command. Configurable settings include sale chances, item quantities, and police reports.
- Drug Effects – Configurable drug effects can be added or adjusted, with options like boosting stamina or increasing speed under the influence of certain drugs like coke.
- Customization - Extensive configurable options in config file(s) and a language file to handle all translations.
- Performance - Maximum optimization resulting in smooth performance with low resource usage, even on large servers.
- Sync - Fully synced across all players using OneSync Infinity and statebags.
DESCRIPTION
In-depth script details
Supplies Job
Players can initiate a drug supplies job by interacting with an NPC. The job involves taking down some goons, lockpicking and stealing their van, then transporting the stolen supplies to a new delivery location. At this point, players must transfer the supplies to another vehicle. By default, the script supports three types of drugs: coke, meth, and weed. However, the system is highly customizable, allowing you to add or remove drug types in the configuration file as needed. These jobs are designed with 2 or more players in mind, making them perfect for cooperative roleplay, where teamwork enhances the experience.
Drug Labs
Drug labs are a central hub for gangs to control the production of drugs, and they are fully synced across all players, ensuring consistent gameplay. Police can raid these labs, adding an extra layer of tension to the roleplay. You can easily add or remove drug labs on the map, specifying the drug type each lab will produce and customizing the shell object type for the lab's appearance. Inside these labs, players can process and package drugs in a fully immersive environment. The configuration allows you to set the number of job locations, goons guarding the lab, and even the weapons those NPCs use, giving you complete control over the lab dynamics.
Processing
Processing drugs requires players to deliver specific items to an NPC, who handles the processing over a configurable amount of time. Once the drugs are processed, they are available for collection. However, anyone can collect the drugs, meaning players must protect their batch from others looking to steal it. Only one player can process drugs at a time, requiring other players to wait until the NPC finishes processing the current batch. In addition, drugs can be converted using a flexible input/output system defined in the config. This allows for on-the-go conversions between different drug items wherever players are in the world.
Packaging
Packaging drugs is an essential step in preparing them for sale, and only one player at a time can handle this process. The packaging system includes synchronized animations that create an immersive scene, with the option to modify these scenes if you have the technical knowledge. Players with a high-quality scale in their inventory will receive a bonus, adding a percentage of extra drugs to their total output. For weed, players can roll packaged weed into joints if they have rolling paper in their inventory, offering an additional layer of customization and roleplay.
NPC Sales
Once drugs are packaged, players can sell them to NPCs around the map. The selling system is highly optimized, outperforming many other drug sale resources in terms of efficiency and performance. A simple /sell drugs command allows players to toggle drug selling on or off. Everything from the chances of a successful sale to the amount of drugs sold per transaction, as well as the risk of being reported to the police, is fully configurable. This customization allows you to tailor the system to fit the economy and gameplay style of your server.
Drug Effects
The system also allows for the creation and customization of various drug effects. You can add as many different drugs to the effects table as you wish, each with its own set of effects. These effects can be enabled or disabled and adjusted as necessary. For example, using coke might grant the player unlimited stamina and a 1.2x speed multiplier while under its influence. This flexibility ensures that the drug system fits perfectly into any roleplay scenario, offering a wide range of effects to suit the server's needs.
Customization
The scripts has config file(s) with an extensive amount of configurable options, allowing extreme customization to make the system work with your roleplay server. A separate language file, containing all strings, makes it very easy for you to translate the system into your preferred language of choice. There's an icon folder with inventory icons for all included items.
Performance
The script has been rigorously tested to ensure maximum optimization and smooth performance, even on large servers with high player counts. Its low resource usage minimizes server strain, providing a stable and seamless gameplay experience for all users. The focus on efficiency and reliability ensures that the script can handle peak activity without compromising functionality or player immersion, making it a robust choice for any server environment.
Sync
The script is fully synchronized across all players, utilizing OneSync Infinity and statebags for seamless and reliable synchronization.
Copyright © T1GER Scripts 2020-2024. All Rights Reserved.