Fields & Labs [ESX][Free]

This resource contains Fields and Proccesing Labs:
● | Add as many Fields/Labs, as you wish.
● | Can be used both for Legal or Illegal goods.
● | Has a huge variety of configuration for each Field/Lab seperately.
● | Has a huge variety of features, such as, Job Restriction for each Field/Lab (you can permit unlimited jobs) / Set a minimum count of online police to make each Field/Lab interactable.

Features:
● | Detailed Configuration.
● | Adding a new Field/Lab, is easy as adding a new line in Config.
● | Discord Logs for every action via Webhook.
● | Every action comes with configurable animations and props, to make it smooth and fun.
● | Optimised to 0.00-0.01ms CPU while idle.

Requirments:
● | mythic_progbar - github.com/HalCroves/mythic_progbar
● | ESX v1.1 or higher. (Highly suggest Legacy version)

Preview:
Watch lab-Fields | Streamable

Download:
GitHub - LabScripts/lab-Fields: Drug Fields and Labs for FiveM

Config:


Credits:
DoPeMan17 | Followed the logic for handling props in fields.
BaziForYou | Contributed making the code more optimised and secure + added some more features.

36 Likes

Great work

2 Likes

Best drug farming/processing script by far, super clean well done my friend. :grinning_face_with_smiling_eyes:

1 Like

Amazing!

2 Likes

As always Great work!!! clean and simple
Super easy to configure

3 Likes


anyone know how to fix this ?

1 Like

Seems like you are using older esx version than Legacy.
Just set Config.Legacy to false in config.

1 Like

Nice!

2 Likes

im using ESXv1final, this worked thank you :slight_smile:

1 Like

I use 1.2 and its work.

Kleiner Kommentar auf Deutsch: Was ein absolut, GEILES SCRIPT!
Vorschläge schicke ich per Github :smiley:

1 Like

Beutifull script, in this days is hard to find scripts free and goods like this one especially without escrow good job, keep going

2 Likes

Really nice script! Love It!! :heart:

1 Like

Perfect! :muscle:

2 Likes

would it be possible to add a cost to the processing side of this ?

Ill have a play but if anyone who knows how to do so can you let me know thanks

@Lab_Scripts loving this script so clean

1 Like

UPDATED to Version 1.1.0

  • Code cleaned up.
  • Changes about optimisation and security.
  • Some more features added such as minimum rank for job restricted farms.

Special thanks to BaziForYou for his contribution!!

2 Likes

Config = {}

Config.BlipSize = 0.8 – Size of the blips.

Config.PropOutline = true – Enable if you want field props to be outlined when close.
Config.OutlineColor = {r = 42, g = 191, b = 171}

– Configure anything except: spawnedPlants, DrugPlantsA and DrugCoords. These shall never be touched!
Config.Fields = {
{
FieldCoords = vector3(3522.56, 2569.64, 7.76),
label = ‘Weed (1G)’,
itemName = ‘weed’,
amount = {Min = 2, Max = 5},
jobs = false,
},
neededJobs = false,
},
DrugProp = ‘prop_cs_plant_01’,
duration = 1000,
animDict= ‘random@domestic’,
anim = ‘pickup_low’,
blip = true,
blipSprite = 403,
blipColour = 0,
blipRadius = true,
spawnedPlants = 0, DrugPlantsA = {}, DrugCoords = nil
},
{
FieldCoords = vector3(2351.28, 3070.52, 48.16),
label = ‘Coke (1G)’,
itemName = ‘coke’,
amount = {Min = 2, Max = 5},
jobs = false,
neededJobs = false,
DrugProp = ‘ex_office_swag_drugbag2’,
duration = 1000,
animDict= ‘random@domestic’,
anim = ‘pickup_low’,
blip = true,
blipSprite = 497,
blipColour = 1,
blipRadius = true,
spawnedPlants = 0, DrugPlantsA = {}, DrugCoords = nil
},
}

– Configure anything to your liking.
Config.Labs = {
{
LabCoords = vector3(1391.84, 3605.88, 38.96),
neededLabel = ‘Weed (1G)’,
givenLabel = ‘Bag of weed (28G)’,
neededItem = ‘weed’,
neededAmount = 2,
givenItem = ‘weed_pooch’,
givenAmount = {Min = 1, Max = 5},
jobs = false,
},
neededJobs = false,
},
duration = 6000,
animDict= ‘missmechanic’,
anim = ‘work2_base’,
blip = true,
blipSprite = 403,
blipColour = 0,
blipRadius = true
},
{
LabCoords = vector3(2433.88, 4969.2, 42.36),
neededLabel = ‘Coke (1G)’,
givenLabel = ‘Bag of coke (28G)’,
neededItem = ‘coke’,
neededAmount = 2,
givenItem = ‘coke_pooch’,
givenAmount = {Min = 2, Max = 4},
jobs = false,
neededJobs = false,
duration = 6000,
animDict= ‘missmechanic’,
anim = ‘work2_base’,
blip = true,
blipSprite = 497,
blipColour = 0,
blipRadius = true
},
}
getting errors in console, what have i done wrong?

image
If you set these values to false, these brackets shouldn’t be there.

that was it, thanks for quick reply

1 Like

nice one hope to see more from u ;D

1 Like

thank you bro for script

1 Like