Array_Advanced_Drugs
An advanced drug script that can be used for recreational, and medical use.
This resource allows you to finally give your EMS crew access to use drugs while giving your CIV’s a nice extra way to enjoy their time.
We made this resource because we’ve never been able to find a script that allowed EMS to administer drugs to their patiënts, we think this adds an extra dynamic to the RP. We figured that if we’re making this, we might as well make it a universal solution, and give CIV’s the ability to use the drugs too.
We’ve added important configuration options. You can restrict the functionality to your users by using identifiers such as a Steam Hex, Ace permission, Discord ID or Discord Role. You can even disable parts of the menu completely. See Configuration below for more information.
Preview
Video of Medical Use
Video of Recreational Use
Features
- Highly configurable
- Easy to configure, with easily readable Documentation and Installation guide.
- No obfuscation or Escrow
- Continuous updates and support
- Overdosing
- Dosage-dependant effect wear off
- If you purchase this script, you’ll get access to all future updates for free.
Allow your medics to give drugs to patients (With individual effects):
- Oxygen (Heals People)
- Saline (Heals People)
- Midazolam
- Epinephrine
- Ketamine
- Fentanyl
- Narcan (To clear existing drug effects)
Allow civilians to use drugs for themselves (With individual effects):
- Weed
- MDMA
- Cocaine
- LSA
- LSD
- Heroin
- DMT
- Water (To clear existing drug effects)
Restrict the menu based on:
-
Steam ID
-
Ace permission
-
Discord ID
-
Discord role (Whitelisting based on Discord roles requires Badger_Discord_API to be installed.
With a straight-to-the-point config, you’ll be able to set the menu up just how you like it!
Click to view example Config
Config = {}
-- What do you want the command to be to open the menu?
Config.command = 'drugmenu'
-- Set the text to appear below the menu title.
Config.SubTitleText = "By Array Development"
-- Specify if you want to enable both parts of the menu?
Config.enableMedicalUse = true -- Enable Medical Use
Config.enableRecreationalUse = true -- Enable Recreational Use
-- Specify whether you want to restrict parts of the menu?
Config.whitelistMedicalUse = true -- Restrict Medical Use (Recommended to leave true)
Config.whitelistRecreationalUse = false -- Restrict Recreational Use
-- If Config.whitelistMedicalUse is set to true, who do you want to be able to use the menu?
Config.MedicalUse = {
steamID = {"iasm89892899w", "awdawk909k21s", "", "", "", "", "", ""},
discordID = {"SomeonesDiscordId", "92862829495722", "", "", "", "", "", ""},
acePerm = {"medic", "firedepartment", "", "", "", "", "", ""},
discordRole = {"EMS", "Fire Department", "", "", "", "", "", ""}
}
-- If Config.whitelistRecreationalUse is set to true, who do you want to be able to use the menu?
Config.RecreationalUse = {
steamID = {"", "", "", "", "", "", "", ""},
discordID = {"", "", "", "", "", "", "", ""},
acePerm = {"medic", "", "", "", "", "", "", ""},
discordRole = {"", "", "", "", "", "", "", ""}
}
-- Disable the healing effects gained from Oxygen and Saline, to prevent people with access to the medical use menu from healing people.
Config.disableMedicalDrugHealingEffects = false
-- Do you want to stop medics from being able to use the medical use menu on themselves. (eg. to prevent them from healing themselves)
Config.disableMedicalSelfUse = false
-- Do you want to enable the chat messages when drug functions are executed.
Config.enableChatMessages = true
-- If Config.enableChatMessages is true, what do you want the title of the message to be?
Config.chatMessagetitle = "Array_Drugs"
I want it! where do I get it?
Buy it from our Tebex for only $8
Documentation
Acknowledgements
Special thanks to:
- OfficialBadger for Badger_Discord_API
- Kypo-Drug-Effect for inspiration and some drug effects.
- This post For a list of screen effects.
- Warxander for WarMenu
- The FiveM Natives Reference
Disclaimer
None of the content in this release should be considered medical advice, drug advice, or any sort of advice. We do not claim to know proper dosage, overdosage, etc. Dosage and overdosage are purely there as a gameplay mechanic.