Price
UnknownA script by Pain1435
Price
UnknownThis resource is compatible with ESX v1.1 / ESX 1.2 (v1 Final) / ESX Legacy (v1.3 - v1.5)/ Extendedmode.
You always wanted to own your own Methlab and start cooking some Meth? Then now it is time for you to Break Bad.
So you want more illegal ways for your players to earn money? Then create a methlab for every illegal fraction. Each Laboratory has its own storage where you can store the ingredients for Meth Cooking.
Your Drugs need to be cooked first and after the cooking process it needs to be cooled to get the final Product.
The Temperature and many other factors while cooking have an huge impact on the amount of meth you’ll get after finishing the cooking process. So everyone wants to find the perfect formula for cooking.
There is also an option where you can rob a rival Methlab to steal their stuff stored in their laboratory storage.
Showcase: Click me
Buy: Click me (Secured by FiveM Escrow System)
Config Snippets:
MK = {}
MK.Language = "en"
MK.ESXSharedObject = 'esx:getSharedObject'
MK.ESXPlayerLoaded = 'esx:playerLoaded'
MK.ESXSetJob = 'esx:setJob'
MK.Labs = {
["lab"] = {
entry = { x = 312.02688, y = -1928.875, z = 24.999656, h = 52.480396 }, -- Location of the Entry
robberycd = 0, -- Should always be 0
owner = "lcn", -- Lab Owner Job
}
}
-- Base Amount you get from Cooking Process
MK.BaseCookingAmount = 50
-- Time to Rob a Lab in Seconds
MK.Robtime = 40
--Time to cool Meth in minutes
MK.Coolingtime = 5
--Time to cook Meth in minutes
MK.Productiontime = 2
--Notification handling
MK.Notify = function(type, message)
if type == 'success' then
ESX.ShowNotification(message, 4000, 'success')
elseif type == 'warning' then
ESX.ShowNotification(message, 4000, 'error')
elseif type == 'error' then
ESX.ShowNotification(message, 4000, 'error')
elseif type == 'info' then
ESX.ShowNotification(message, 4000, 'info')
end
end
--Recipe for Meth cooking
-- WARNING: Only use 3 Ingredients max
MK.Recipes = {
{
label = "pseudoephedrin",
item = "mk_pseudoephedrin",
amount = 20
},
{
label = "battery_acid",
item = "mk_batteryacid",
amount = 5
},
{
label = "antifreeze",
item = "mk_antifreeze",
amount = 5
},
}
-- Final Item you get after Cooling
MK.Drug = "mk_methbag"
-- Item you get after Cooking process(Needs to be cooled)
MK.Palette = "mk_methtray"
--Blacklisted Jobs for Robbery
MK.Blacklist = {
["ambulance"] = true,
["police"] = true,
["unemployed"] = true,
}
MK = MK or {}
MK.Logging = {}
MK.Server = {}
-- ======= DON'T CHANGE ANYTHING ABOVE THIS LINE ======= --
MK.Logging.PutItemLogs = {
Enabled = false,
Webhook = ''
}
MK.Logging.TakeItemLogs = {
Enabled = false,
Webhook = ''
}
MK.Server.Notify = function(playerId, type, message)
if type == 'success' then
TriggerClientEvent('esx:showNotification', playerId, message)
elseif type == 'warning' then
TriggerClientEvent('esx:showNotification', playerId, message)
elseif type == 'error' then
TriggerClientEvent('esx:showNotification', playerId, message)
elseif type == 'info' then
TriggerClientEvent('esx:showNotification', playerId, message)
end
end
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | LUA: ~1800 UI: 400 |
| Requirements | mk_progressbar |
| Support | Yes |
See what others are saying about this script.
Share your experience and help others.