This script is a more advanced and territorium-based drug system, with a key-based owner system.
How it works
Each lab has its own key, without the necessary key you can’t enter or even see the markers.
Inside of these labs, there is the possibility to produce certain amounts of drugs (at this time only coke and meth). Each lab has its own location and key. System isn’t that advanced at this time but will get more features in the near future.
This form of drug-producing system encourages your players to play smart, since their keys can be stolen by other players - which mean they will no longer have access to the lab.
If you’re wondering why I didn’t use MLO’s instead of IPL’s, its because the key system wouldn’t be as efficient and usefull as it is with teleporters.
You will need to add these items to your (already) existing drug selling resource, or just change the item names in server/main.lua to work with your preffered items.
Requirements
es_extended (1.2)
bob74_ipl (or change the code to work with your preffered IPL loader)
progressBars
Links for installation can be found in the Github readme. Resource won’t start if these resources aren’t ensured.
Change up the animations (takes a lot of time to find a good one lmao)
Create a new kind of progressbar with a callback function for when the process is finished
Clean up some code
Implement a weedfarm
Installation and configuration
Information about how to install and configure this resource can be found on the Github page.
Github: https://github.com/arnevdaele/esx_druglabs -> You can download a zipped version on the ‘releases’ tab. I’ll also create a wiki explaining how you can create your own labs and some other stuff to make it easier to modify and edit.
Support: drop a reply on this topic
I speak fluent English and Dutch.
If you have any ideas and/or tips, feel free to leave a reply.
any support for esx with count instead of weight? cant get finished product out of storage. I go to get it out and still get nothing. changed the items to ‘coke’ ‘meth’ that you get
As I stated on the other release, please give me an example of how your system gives an item to your player(s), so I can change what needs to be changed.
how can i properly change the items from ‘cokebag’ and ‘methbag’ to ‘coke’ and ‘meth’ cause im still having issues where it doesnt give me those that i want changed from the storage.
Weird, if you’re not getting any errors, chance is pretty small that your issue is because of the resource. Are you sure you have both items in your item table?