Configuration
shared/config.lua
Coke = {}
Coke.Main = {
Debug = false,
Language = "en",
Framework = 'qb', -- 'qb', 'esx' or 'standalone'
Target = "qb", -- 'ox' or 'qb'
ProgressBar = "qb", -- 'ox' or 'qb'
PoliceJobName = "police",
GroupsSystem = "bd", -- 'bd' or 'custom' (server/editable/groups.lua)
CheckForUpdates = true, -- Recommended to leave at true
}
Coke.JobData = {
EnablePed = true,
Ped = "a_f_o_soucent_02",
Coords = vector4(1280.53, 1908.97, 82.11, 130.77),
MaxJobsAtOnce = 1, -- Recommended to leave at 1 as it is a massive server event
-- 60 minutes after starting the heist if its not completed it will finish and another group can start it
JobTime = 60, -- In minutes
}
Coke.CopsRequired = 0
Coke.CopsSignal = false -- Whether to send or not
Coke.CopsSignalChance = 100 -- Percent
Coke.RevealTimeForPublic = 1 -- In minutes
Coke.PackageInfo = {
name = `v_ind_cf_chckbox2`,
placement = {
x = 0.01,
y = -0.02,
z = -0.12,
xrot = 0.0,
yrot = 0.0,
zrot = 0.0,
}
}
Coke.RequiredItem = {
Item = "your_item_here",
Remove = true,
}
Coke.Rewards = {
[1] = {
Name = "cocaine_brick",
MinAmount = 10,
MaxAmount = 20,
Chance = 100,
},
}
Coke.Locations = {
CokeRewardMin = 1,
CokeRewardMax = 15,
Public = true,
ReputationGives = 40, -- Groupwise split
Locations = {
[1] = {
-- Instructions are only for the Intructor; Mixing Coca Leaves is only for the Mixer; Mixing the chemical elements is only for the Chemist; Supplier is the other guy in the group that does nothing :D (protects from intruders)
Roles = { -- Dont touch
["Instructor"] = 0,
["Mixer"] = 0,
["Chemist"] = 0,
["Supplier"] = 0,
},
PropsInfo = {
[1] = {
Prop = `xm3_prop_xm3_tent_01a`,
Coords = '{"x":1073.0382080078126,"y":2364.22607421875,"z":43.08622360229492,"w":0.0}',
},
[2] = {
Prop = `bkr_prop_coke_table01a`,
Coords = '{"x":1069.966552734375,"y":2365.97802734375,"z":42.95531845092773,"w":0.0}',
},
[3] = {
Prop = `bkr_prop_coke_table01a`,
Coords = '{"x":1069.9669189453126,"y":2362.524658203125,"z":42.9286003112793,"w":185.0}',
},
[4] = {
Prop = `prop_barrel_pile_01`,
Coords = '{"x":1074.9010009765626,"y":2366.0859375,"z":43.19315338134765,"w":0.0}',
},
},
CocaineSupplies = 15,
CocaineSuppliesAmount = 0,
CocaineSuppliesLocation = vector3(-94.6302, -2466.6565, 6.2179),
MixingCocaLeaves = 3, -- Cocaine Supplies will be split by this number and it will give that amount after successfull mixing (must be dividable)
MixingCocaLeavesAmount = 0, -- Dont touch
CocaLeavesAmount = 0, -- Dont touch
CocaLeavesNumber = 0, -- Dont touch
CocaLeavesNumberAlreadySeen = false, -- Dont touch
MixingCocaLeavesLocation = vector3(1074.9010009765626, 2366.0859375, 43.19315338134765),
MixturesReady = 0, -- Dont touch
IngredientsLocation = vector3(1069.9669189453126, 2362.524658203125, 42.9286003112793),
Ingredients = { -- Dont touch
["coca"] = 0,
["methanol"] = 0,
["sulfuric"] = 0,
["acetone"] = 0,
},
IngredientsAlreadySeen = false, -- Dont touch
MixingChemicalsLocation = vector3(1069.966552734375, 2365.97802734375, 42.95531845092773),
},
[2] = {
-- Instructions are only for the Intructor; Mixing Coca Leaves is only for the Mixer; Mixing the chemical elements is only for the Chemist; Supplier is the other guy in the group that does nothing :D (protects from intruders)
Roles = { -- Dont touch
["Instructor"] = 0,
["Mixer"] = 0,
["Chemist"] = 0,
["Supplier"] = 0,
},
PropsInfo = {
[1] = {
Prop = `xm3_prop_xm3_tent_01a`,
Coords = '{"x":-475.56195068359377,"y":1523.5155029296876,"z":390.1031494140625,"w":0.0}',
},
[2] = {
Prop = `bkr_prop_coke_table01a`,
Coords = '{"x":-478.5262451171875,"y":1525.190673828125,"z":390.1924743652344,"w":0.0}',
},
[3] = {
Prop = `bkr_prop_coke_table01a`,
Coords = '{"x":-478.18267822265627,"y":1522.019287109375,"z":389.899169921875,"w":0.0}',
},
[4] = {
Prop = `prop_barrel_pile_01`,
Coords = '{"x":-473.3979797363281,"y":1525.3385009765626,"z":390.303955078125,"w":0.0}',
},
},
CocaineSupplies = 2,
CocaineSuppliesAmount = 0,
CocaineSuppliesLocation = vector3(-94.6302, -2466.6565, 6.2179),
MixingCocaLeaves = 1, -- Cocaine Supplies will be split by this number and it will give that amount after successfull mixing (must be dividable)
MixingCocaLeavesAmount = 0, -- Dont touch
CocaLeavesAmount = 0, -- Dont touch
CocaLeavesNumber = 0, -- Dont touch
CocaLeavesNumberAlreadySeen = false, -- Dont touch
MixingCocaLeavesLocation = vector3(-473.3979797363281, 1525.3385009765626, 390.303955078125),
MixturesReady = 0, -- Dont touch
IngredientsLocation = vector3(-478.18267822265627, 1522.019287109375, 389.899169921875),
Ingredients = { -- Dont touch
["coca"] = 0,
["methanol"] = 0,
["sulfuric"] = 0,
["acetone"] = 0,
},
IngredientsAlreadySeen = false, -- Dont touch
MixingChemicalsLocation = vector3(-478.5262451171875, 1525.190673828125, 390.1924743652344),
},
[3] = {
-- Instructions are only for the Intructor; Mixing Coca Leaves is only for the Mixer; Mixing the chemical elements is only for the Chemist; Supplier is the other guy in the group that does nothing :D (protects from intruders)
Roles = { -- Dont touch
["Instructor"] = 0,
["Mixer"] = 0,
["Chemist"] = 0,
["Supplier"] = 0,
},
PropsInfo = {
[1] = {
Prop = `xm3_prop_xm3_tent_01a`,
Coords = '{"x":736.4562377929688,"y":1284.5059814453126,"z":359.2959899902344,"w":0.0}',
},
[2] = {
Prop = `bkr_prop_coke_table01a`,
Coords = '{"x":734.0328979492188,"y":1286.1844482421876,"z":359.2959899902344,"w":0.0}',
},
[3] = {
Prop = `bkr_prop_coke_table01a`,
Coords = '{"x":733.7220458984375,"y":1283.049072265625,"z":359.2959899902344,"w":0.0}',
},
[4] = {
Prop = `prop_barrel_pile_01`,
Coords = '{"x":738.90380859375,"y":1286.4249267578126,"z":359.2966613769531,"w":0.0}',
},
},
CocaineSupplies = 2,
CocaineSuppliesAmount = 0,
CocaineSuppliesLocation = vector3(-94.6302, -2466.6565, 6.2179),
MixingCocaLeaves = 1, -- Cocaine Supplies will be split by this number and it will give that amount after successfull mixing (must be dividable)
MixingCocaLeavesAmount = 0, -- Dont touch
CocaLeavesAmount = 0, -- Dont touch
CocaLeavesNumber = 0, -- Dont touch
CocaLeavesNumberAlreadySeen = false, -- Dont touch
MixingCocaLeavesLocation = vector3(738.90380859375, 1286.4249267578126, 359.2966613769531),
MixturesReady = 0, -- Dont touch
IngredientsLocation = vector3(733.7220458984375, 1283.049072265625, 359.2959899902344),
Ingredients = { -- Dont touch
["coca"] = 0,
["methanol"] = 0,
["sulfuric"] = 0,
["acetone"] = 0,
},
IngredientsAlreadySeen = false, -- Dont touch
MixingChemicalsLocation = vector3(734.0328979492188, 1286.1844482421876, 359.2959899902344),
},
[4] = {
-- Instructions are only for the Intructor; Mixing Coca Leaves is only for the Mixer; Mixing the chemical elements is only for the Chemist; Supplier is the other guy in the group that does nothing :D (protects from intruders)
Roles = { -- Dont touch
["Instructor"] = 0,
["Mixer"] = 0,
["Chemist"] = 0,
["Supplier"] = 0,
},
PropsInfo = {
[1] = {
Prop = `xm3_prop_xm3_tent_01a`,
Coords = '{"x":-1302.766357421875,"y":1134.9642333984376,"z":278.6068115234375,"w":0.0}',
},
[2] = {
Prop = `bkr_prop_coke_table01a`,
Coords = '{"x":-1305.8426513671876,"y":1136.68994140625,"z":277.9341735839844,"w":0.0}',
},
[3] = {
Prop = `bkr_prop_coke_table01a`,
Coords = '{"x":-1305.18701171875,"y":1133.54736328125,"z":278.4674987792969,"w":0.0}',
},
[4] = {
Prop = `prop_barrel_pile_01`,
Coords = '{"x":-1300.2928466796876,"y":1136.9434814453126,"z":278.6263732910156,"w":0.0}',
},
},
CocaineSupplies = 2,
CocaineSuppliesAmount = 0,
CocaineSuppliesLocation = vector3(-94.6302, -2466.6565, 6.2179),
MixingCocaLeaves = 1, -- Cocaine Supplies will be split by this number and it will give that amount after successfull mixing (must be dividable)
MixingCocaLeavesAmount = 0, -- Dont touch
CocaLeavesAmount = 0, -- Dont touch
CocaLeavesNumber = 0, -- Dont touch
CocaLeavesNumberAlreadySeen = false, -- Dont touch
MixingCocaLeavesLocation = vector3(-1300.2928466796876, 1136.9434814453126, 278.6263732910156),
MixturesReady = 0, -- Dont touch
IngredientsLocation = vector3(-1305.18701171875, 1133.54736328125, 278.4674987792969),
Ingredients = { -- Dont touch
["coca"] = 0,
["methanol"] = 0,
["sulfuric"] = 0,
["acetone"] = 0,
},
IngredientsAlreadySeen = false, -- Dont touch
MixingChemicalsLocation = vector3(-1305.8426513671876, 1136.68994140625, 277.9341735839844),
},
[5] = {
-- Instructions are only for the Intructor; Mixing Coca Leaves is only for the Mixer; Mixing the chemical elements is only for the Chemist; Supplier is the other guy in the group that does nothing :D (protects from intruders)
Roles = { -- Dont touch
["Instructor"] = 0,
["Mixer"] = 0,
["Chemist"] = 0,
["Supplier"] = 0,
},
PropsInfo = {
[1] = {
Prop = `xm3_prop_xm3_tent_01a`,
Coords = '{"x":-3149.761474609375,"y":274.34393310546877,"z":1.3586436510086,"w":270.0}',
},
[2] = {
Prop = `bkr_prop_coke_table01a`,
Coords = '{"x":-3148.1357421875,"y":276.9546813964844,"z":1.35708892345428,"w":275.0}',
},
[3] = {
Prop = `bkr_prop_coke_table01a`,
Coords = '{"x":-3151.426025390625,"y":276.928955078125,"z":1.35715579986572,"w":90.0}',
},
[4] = {
Prop = `prop_barrel_pile_01`,
Coords = '{"x":-3147.95556640625,"y":272.0784912109375,"z":1.36622190475463,"w":275.0}',
},
},
CocaineSupplies = 2,
CocaineSuppliesAmount = 0,
CocaineSuppliesLocation = vector3(-94.6302, -2466.6565, 6.2179),
MixingCocaLeaves = 1, -- Cocaine Supplies will be split by this number and it will give that amount after successfull mixing (must be dividable)
MixingCocaLeavesAmount = 0, -- Dont touch
CocaLeavesAmount = 0, -- Dont touch
CocaLeavesNumber = 0, -- Dont touch
CocaLeavesNumberAlreadySeen = false, -- Dont touch
MixingCocaLeavesLocation = vector3(-3147.95556640625, 272.0784912109375, 1.36622190475463),
MixturesReady = 0, -- Dont touch
IngredientsLocation = vector3(-3151.426025390625, 276.928955078125, 1.35715579986572),
Ingredients = { -- Dont touch
["coca"] = 0,
["methanol"] = 0,
["sulfuric"] = 0,
["acetone"] = 0,
},
IngredientsAlreadySeen = false, -- Dont touch
MixingChemicalsLocation = vector3(-3148.1357421875, 276.9546813964844, 1.35708892345428),
},
[6] = {
-- Instructions are only for the Intructor; Mixing Coca Leaves is only for the Mixer; Mixing the chemical elements is only for the Chemist; Supplier is the other guy in the group that does nothing :D (protects from intruders)
Roles = { -- Dont touch
["Instructor"] = 0,
["Mixer"] = 0,
["Chemist"] = 0,
["Supplier"] = 0,
},
PropsInfo = {
[1] = {
Prop = `xm3_prop_xm3_tent_01a`,
Coords = '{"x":2098.02294921875,"y":12.26792907714843,"z":214.9365234375,"w":10.0}',
},
[2] = {
Prop = `bkr_prop_coke_table01a`,
Coords = '{"x":2095.25927734375,"y":13.28832721710205,"z":214.99668884277345,"w":15.0}',
},
[3] = {
Prop = `bkr_prop_coke_table01a`,
Coords = '{"x":2095.97265625,"y":10.6620283126831,"z":214.69781494140626,"w":190.0}',
},
[4] = {
Prop = `prop_barrel_pile_01`,
Coords = '{"x":2099.870361328125,"y":14.45423984527587,"z":215.21383666992188,"w":5.0}',
},
},
CocaineSupplies = 2,
CocaineSuppliesAmount = 0,
CocaineSuppliesLocation = vector3(-94.6302, -2466.6565, 6.2179),
MixingCocaLeaves = 1, -- Cocaine Supplies will be split by this number and it will give that amount after successfull mixing (must be dividable)
MixingCocaLeavesAmount = 0, -- Dont touch
CocaLeavesAmount = 0, -- Dont touch
CocaLeavesNumber = 0, -- Dont touch
CocaLeavesNumberAlreadySeen = false, -- Dont touch
MixingCocaLeavesLocation = vector3(2099.870361328125, 14.45423984527587, 215.21383666992188),
MixturesReady = 0, -- Dont touch
IngredientsLocation = vector3(2095.25927734375, 13.28832721710205, 214.99668884277345),
Ingredients = { -- Dont touch
["coca"] = 0,
["methanol"] = 0,
["sulfuric"] = 0,
["acetone"] = 0,
},
IngredientsAlreadySeen = false, -- Dont touch
MixingChemicalsLocation = vector3(2095.97265625, 10.6620283126831, 214.69781494140626),
},
[7] = {
-- Instructions are only for the Intructor; Mixing Coca Leaves is only for the Mixer; Mixing the chemical elements is only for the Chemist; Supplier is the other guy in the group that does nothing :D (protects from intruders)
Roles = { -- Dont touch
["Instructor"] = 0,
["Mixer"] = 0,
["Chemist"] = 0,
["Supplier"] = 0,
},
PropsInfo = {
[1] = {
Prop = `xm3_prop_xm3_tent_01a`,
Coords = '{"x":1493.2197265625,"y":-2335.29443359375,"z":73.029541015625,"w":0.0}',
},
[2] = {
Prop = `bkr_prop_coke_table01a`,
Coords = '{"x":1490.7440185546876,"y":-2333.891845703125,"z":72.85382080078125,"w":0.0}',
},
[3] = {
Prop = `bkr_prop_coke_table01a`,
Coords = '{"x":1490.8238525390626,"y":-2336.8779296875,"z":72.7068862915039,"w":175.0}',
},
[4] = {
Prop = `prop_barrel_pile_01`,
Coords = '{"x":1495.6209716796876,"y":-2333.284423828125,"z":73.49516296386719,"w":0.0}',
},
},
CocaineSupplies = 2,
CocaineSuppliesAmount = 0,
CocaineSuppliesLocation = vector3(-94.6302, -2466.6565, 6.2179),
MixingCocaLeaves = 1, -- Cocaine Supplies will be split by this number and it will give that amount after successfull mixing (must be dividable)
MixingCocaLeavesAmount = 0, -- Dont touch
CocaLeavesAmount = 0, -- Dont touch
CocaLeavesNumber = 0, -- Dont touch
CocaLeavesNumberAlreadySeen = false, -- Dont touch
MixingCocaLeavesLocation = vector3(1495.6209716796876, -2333.284423828125, 73.49516296386719),
MixturesReady = 0, -- Dont touch
IngredientsLocation = vector3(1490.7440185546876, -2333.891845703125, 72.85382080078125),
Ingredients = { -- Dont touch
["coca"] = 0,
["methanol"] = 0,
["sulfuric"] = 0,
["acetone"] = 0,
},
IngredientsAlreadySeen = false, -- Dont touch
MixingChemicalsLocation = vector3(1490.8238525390626, -2336.8779296875, 72.7068862915039),
},
[8] = {
-- Instructions are only for the Intructor; Mixing Coca Leaves is only for the Mixer; Mixing the chemical elements is only for the Chemist; Supplier is the other guy in the group that does nothing :D (protects from intruders)
Roles = { -- Dont touch
["Instructor"] = 0,
["Mixer"] = 0,
["Chemist"] = 0,
["Supplier"] = 0,
},
PropsInfo = {
[1] = {
Prop = `xm3_prop_xm3_tent_01a`,
Coords = '{"x":687.8244018554688,"y":577.8886108398438,"z":129.46139526367188,"w":340.0}',
},
[2] = {
Prop = `bkr_prop_coke_table01a`,
Coords = '{"x":685.9884643554688,"y":579.878173828125,"z":129.46139526367188,"w":0.0}',
},
[3] = {
Prop = `bkr_prop_coke_table01a`,
Coords = '{"x":685.0869140625,"y":577.378173828125,"z":129.46139526367188,"w":160.0}',
},
[4] = {
Prop = `prop_barrel_pile_01`,
Coords = '{"x":690.2276611328125,"y":578.7948608398438,"z":129.46116638183595,"w":340.0}',
},
},
CocaineSupplies = 2,
CocaineSuppliesAmount = 0,
CocaineSuppliesLocation = vector3(-94.6302, -2466.6565, 6.2179),
MixingCocaLeaves = 1, -- Cocaine Supplies will be split by this number and it will give that amount after successfull mixing (must be dividable)
MixingCocaLeavesAmount = 0, -- Dont touch
CocaLeavesAmount = 0, -- Dont touch
CocaLeavesNumber = 0, -- Dont touch
CocaLeavesNumberAlreadySeen = false, -- Dont touch
MixingCocaLeavesLocation = vector3(690.2276611328125, 578.7948608398438, 129.46116638183595),
MixturesReady = 0, -- Dont touch
IngredientsLocation = vector3(685.9884643554688, 579.878173828125, 129.46139526367188),
Ingredients = { -- Dont touch
["coca"] = 0,
["methanol"] = 0,
["sulfuric"] = 0,
["acetone"] = 0,
},
IngredientsAlreadySeen = false, -- Dont touch
MixingChemicalsLocation = vector3(685.0869140625, 577.378173828125, 129.46139526367188),
},
}
}