Guest User

CONFIG

a guest
Aug 7th, 2022
1,955
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 35.60 KB | None | 0 0
  1. Config = {}
  2.  
  3. Config.Debug = false
  4. --SERVER SETTINGS
  5. Config.Framework = "ESX" -- Set your framework! qbcore, ESX, standalone
  6. Config.Target = "qtarget" -- Which Target system do u use? qb-target, qtarget
  7. Config.Dispatch = { enabled = true, script = "linden_outlawalert" } -- cd_dispatch, linden_outlawalert, ps-disptach
  8. Config.NotificationType = "ox_lib" -- ESX, ox_lib, qbcore
  9. Config.Bob74_ipl = true -- Loads lab interiors
  10. Config.PoliceJobs = { 'police', 'sheriff' }
  11. Config.Clothing = "fivem-appearance" -- fivem-appearance, esx_skin, qb-clothing, custom | change in client/cl_Utils.lua | GetSkin = function() | ApplySkin = function()
  12. --PLAYER CONTROL
  13. Config.Logs = { enabled = true, type = "webhook" } -- use webhook or ox_lib (datadog) Can be changed in server > sv_utils.lua
  14. Config.DropPlayer = true -- Drop (Kick) Player if tries to cheat!
  15. Config.AnticheatBan = false -- Change in server/sv_Utils.lua!!! WIll not work by default you need to add your custom trigger to ban player!
  16.  
  17. --BLIPS
  18. Config.Blips = {
  19.     FlowerShop = { -- do not use same value twice (will result in overwriting of blip)
  20.         BlipCoords = vec3(307.91, -1286.48, 29.53), -- Blip coords
  21.         Sprite = 40, -- Blip Icon
  22.         Display = 4, -- keep 4
  23.         Scale = 0.6, -- Size of blip
  24.         Colour = 69, -- colour
  25.         Name = "Flower Shop" -- Blip name
  26.     },
  27.     ComicShop = {
  28.         BlipCoords = vec3(-143.52, 229.53, 93.94),
  29.         Sprite = 280,
  30.         Display = 4,
  31.         Scale = 0.8,
  32.         Colour = 50,
  33.         Name = "Comic Shop"
  34.     },
  35. }
  36.  
  37. --Madrazo Trade
  38. Config.Madrazo = {
  39.     Header = "Madrazo",
  40.     Title = "Buy Meth Lab access",
  41.     Description = "Trade 5 full Figures for Lab access!",
  42.     Available = { -- Time
  43.         enabled = false, from = 1, to = 22
  44.     },
  45.     RequiredItems = {
  46.         { item = "coke_figure", count = 5, remove = true },
  47.     },
  48.     AddItems = {
  49.         { item = "meth_access", count = 1 },
  50.     },
  51.     Location = {
  52.         Coords = vec3(-1032.44, 686.0, 161.45),
  53.         Heading = 270.7,
  54.         radius = 0.7,
  55.     },
  56.     Log = "Has Traded 5x coke figure for 1 Meth Access Card"
  57. }
  58.  
  59. --Gerald Trade
  60. Config.Gerald = {
  61.     Header = "Gerald",
  62.     Title = "Buy Coke Lab access",
  63.     Description = "Trade 20 packages of weed for 1 Coke Lab with Gerald!",
  64.     Available = { -- Time
  65.         enabled = false, from = 3, to = 10
  66.     },
  67.     RequiredItems = {
  68.         { item = "weed_package", count = 20, remove = true },
  69.     },
  70.     AddItems = {
  71.         { item = "coke_access", count = 1 },
  72.     },
  73.     Location = {
  74.         Coords = vec3(-58.91, -1530.98, 34.5),
  75.         Heading = 229.64,
  76.         radius = 0.7,
  77.     },
  78.     Log = "Has Traded 20x Weed Package for 1 Coke Access Card"
  79. }
  80.  
  81. --Locate Dealer
  82. Config.LocateDealer = {
  83.     RequiredItems = {
  84.         --{ item = "hack_usb", count = 1, remove = true }, -- Add you hacking usb item from your server or just create one!
  85.     },
  86.     DealerPos = { -- Location of dealers
  87.         vec2(-1301.67, -776.34),
  88.         vec2(819.61, -2348.83),
  89.     },
  90.     Location = { --Target
  91.         Coords = vector3(-1055.31, -243.29, 44.05),
  92.         radius = 0.4,
  93.     },
  94. }
  95.  
  96. --Pharmacist
  97. Config.Pharmacist = {
  98.     Header = "Pharmacist",
  99.     Available = { -- Time
  100.         enabled = false, from = 18, to = 23
  101.     },
  102.     Items = {
  103.         { label = 'Empty Plastic Can', item = 'meth_emptysacid', description = "Buy Empty Plastic Can for: $",
  104.             price = 2500, MinAmount = 1, MaxAmount = 1 },
  105.         { label = 'Amonian', item = 'meth_amoniak', description = "Buy Amoniak for: $", price = 800, MinAmount = 1,
  106.             MaxAmount = 5 },
  107.         { label = 'Syringe', item = 'syringe', description = "Buy Syringe for: $", price = 100, MinAmount = 1,
  108.             MaxAmount = 1 },
  109.         { label = 'Meth Pipe', item = 'meth_pipe', description = "Buy Meth Pipe for: $", price = 100, MinAmount = 1,
  110.             MaxAmount = 1 },
  111.         { label = 'Crack Pipe', item = 'crack_pipe', description = "Buy Crack Pipe for: $", price = 160, MinAmount = 1,
  112.             MaxAmount = 1 },
  113.     },
  114.  
  115.     Ped = {
  116.         { model = "s_m_m_doctor_01", coords = vec4(75.76, -1622.35, 30.9 - 1.0, 236.13), scenario = "WORLD_HUMAN_SMOKING" },
  117.     },
  118. }
  119.  
  120. --Dealer
  121. Config.Dealer = {
  122.     Header = "Weed Dealer",
  123.     Items = {
  124.         { label = 'Weed Access Card', item = 'weed_access', description = "Buy Weed Access for: $", price = 5000,
  125.             MinAmount = 1, MaxAmount = 1 },
  126.         { label = 'Weed Papers', item = 'weed_papers', description = "Buy Weed Papers for: $", price = 100, MinAmount = 1,
  127.             MaxAmount = 5 },
  128.         { label = 'Blunt Wraps', item = 'weed_wrap', description = "Buy Blunt wraps for: $", price = 200, MinAmount = 1,
  129.             MaxAmount = 5 },
  130.         { label = 'Plastic Bag', item = 'plastic_bag', description = "Buy Plastic Bag for: $", price = 100, MinAmount = 1,
  131.             MaxAmount = 10 },
  132.     },
  133.     Ped = {
  134.         { model = "s_m_y_dealer_01", coords = vec4(-1301.67, -776.34, 18.47, 202.49), scenario = "WORLD_HUMAN_SMOKING" },
  135.     },
  136. }
  137.  
  138. --Medicament dealer
  139. Config.MedicamentsShop = {
  140.     Header = "Medicament Dealer",
  141.     Items = {
  142.         { label = 'LSD', item = 'lsd', description = "Buy LSD for: $", price = 100, MinAmount = 1, MaxAmount = 2 },
  143.         { label = 'Xanax', item = 'xanaxpack', description = "Buy Xanax for: $", price = 1500, MinAmount = 1,
  144.             MaxAmount = 2 },
  145.         { label = 'Ecstasy', item = 'ecstasy', description = "Buy Ecstasy for: $", price = 200, MinAmount = 1,
  146.             MaxAmount = 2 },
  147.     },
  148.     Ped = {
  149.         { model = "s_m_y_dealer_01", coords = vec4(819.61, -2348.83, 29.33, 261.57), scenario = "WORLD_HUMAN_SMOKING" },
  150.     },
  151. }
  152.  
  153. --ComicShop
  154. Config.ComicShop = {
  155.     Header = "Comic Shop",
  156.     Items = {
  157.         { label = 'Action Figure', item = 'coke_figureempty', description = "Buy Action Figure for: $", price = 240,
  158.             MinAmount = 1, MaxAmount = 2 },
  159.     },
  160.     Ped = {
  161.         { model = "u_m_y_imporage", coords = vec4(-143.52, 229.53, 93.94, 1.4), scenario = "WORLD_HUMAN_MUSCLE_FLEX" },
  162.     },
  163.     Log = "Has bought Item %s, Count %s"
  164. }
  165.  
  166. --Flowershop
  167. Config.FlowerShop = {
  168.     Header = "Flower Shop",
  169.     Items = {
  170.         { label = 'Hammer', item = 'hammer', description = "Buy Hammer for: $", price = 700, MinAmount = 1, MaxAmount = 2 },
  171.         { label = 'Trowel', item = 'trowel', description = "Buy Trowel for: $", price = 800, MinAmount = 1, MaxAmount = 2 },
  172.         { label = 'Scissors', item = 'scissors', description = "Buy Scissors for: $", price = 500, MinAmount = 1,
  173.             MaxAmount = 2 },
  174.         { label = 'Glue', item = 'glue', description = "Buy Glue for: $", price = 100, MinAmount = 1, MaxAmount = 2 },
  175.         { label = 'Baking Soda', item = 'baking_soda', description = "Buy Baking Soda for: $", price = 100, MinAmount = 1,
  176.             MaxAmount = 2 },
  177.     },
  178.     Ped = {
  179.         { model = "s_m_m_gardener_01", coords = vec4(307.91, -1286.48, 29.53, 165.26), scenario = "WORLD_HUMAN_SMOKING" },
  180.     },
  181. }
  182.  
  183. --Weed
  184. Config.Weed = {
  185.     --LABORATORY
  186.     ElectricityNeeded = true,
  187.     --Lab circlezone
  188.     Lab = {
  189.         coords = vector3(1054.33, -3196.17, -39.17),
  190.         radius = 23.85,
  191.         DebugPoly = false,
  192.         name = "WeedLab",
  193.     },
  194.     --Air Conditioner
  195.     AC = {
  196.         coords = vector3(1045.32, -3194.84, -38.33),
  197.         radius = 0.4,
  198.     },
  199.     --ENTER LAB
  200.     Enterlab = {
  201.         coords = vector3(2855.56, 4447.03, 48.88),
  202.         radius = 1.2,
  203.         teleport = vector3(1066.12, -3183.43, -40.16),
  204.         NeedItem = true,
  205.         ItemName = "weed_access"
  206.     },
  207.     --LEAVE LAB
  208.     LeaveLab = {
  209.         coords = vector3(1066.57, -3183.46, -38.96), radius = 1.0, teleport = vector3(2855.99, 4445.97, 47.54),
  210.     },
  211.     --Collecting weed
  212.     Pickup = {
  213.         Models = { [`bkr_prop_weed_lrg_01a`] = true, [`bkr_prop_weed_lrg_01b`] = true },
  214.         RequiredItems = {
  215.             { item = "scissors", count = 1, remove = false },
  216.         },
  217.         AddItems = {
  218.             { item = "weed_bud", count = 1 },
  219.         },
  220.         Log = "Has Picked up Weed bud With leaves"
  221.     },
  222.     --Clean
  223.     Clean = {
  224.         header = "Clean Weed",
  225.         description = "Ingredients: 1x Weed bud with leaves",
  226.         coords = vector3(1038.67, -3205.93, -38.3),
  227.         radius = 0.8,
  228.         teleport = vector3(1039.3 - 0.8, -3205.95, -37.69 - 1.4),
  229.         heading = 90.0,
  230.         leave = vector3(1039.28, -3205.38, -39.17),
  231.         RequiredItems = {
  232.             { item = "weed_bud", count = 1, remove = true },
  233.         },
  234.         AddItems = {
  235.             { item = "weed_budclean", count = 1 },
  236.         },
  237.         Log = "Has proccessed 1x Weed bud with leaves into 1x Weed bud"
  238.     },
  239.     --Package
  240.     Package = {
  241.         header = "Pack Weed",
  242.         description = "Ingredients: 5x Weed bud, 1x Plastic bag",
  243.         coords = vector3(1036.35, -3203.13, -38.24),
  244.         radius = 0.8,
  245.         RequiredItems = {
  246.             { item = "weed_budclean", count = 5, remove = true },
  247.             { item = "plastic_bag", count = 1, remove = true },
  248.         },
  249.         AddItems = {
  250.             { item = "weed_package", count = 1 },
  251.         },
  252.         Log = "Has proccessed 5x Weed bud, 1x Plastic bag into 1x Weed Packed"
  253.     },
  254. }
  255.  
  256. --Meth
  257. Config.Meth = {
  258.     --LABORATORY
  259.     ElectricityNeeded = true,
  260.     --Electricity
  261.     Electricity = {
  262.         coords = vector3(998.33, -3202.35, -38.48), radius = 0.7,
  263.     },
  264.     --Memory game
  265.     Memorygame = true,
  266.     --Lab circlezone
  267.     Lab = {
  268.         coords = vector3(1013.22, -3194.95, -37.88),
  269.         radius = 18.85,
  270.         DebugPoly = false,
  271.         name = "MethLab",
  272.     },
  273.     --ENTER LAB
  274.     Enterlab = {
  275.         coords = vector3(762.93, -1092.78, 22.58),
  276.         radius = 1.6,
  277.         teleport = vector3(996.99, -3200.7, -37.39),
  278.         NeedItem = true,
  279.         ItemName = "meth_access"
  280.     },
  281.     --LEAVE LAB
  282.     LeaveLab = {
  283.         coords = vector3(996.49, -3200.62, -36.32),
  284.         radius = 1.0,
  285.         teleport = vector3(763.09, -1092.92, 21.22),
  286.     },
  287.     --GET ACID
  288.     GetSacid = {
  289.         coords = vector3(2718.76, 1558.05, 21.4),
  290.         radius = 1.0,
  291.         teleport = vector3(2718.82, 1558.8, 19.82),
  292.         RequiredItems = {
  293.             { item = "meth_emptysacid", count = 1, remove = true },
  294.         },
  295.         AddItems = {
  296.             { item = "meth_sacid", count = 1 },
  297.         },
  298.         Log = "Has refill his Can with Sodium Benzoate"
  299.     },
  300.     --HEAT
  301.     Heat = {
  302.         coords = vector3(1001.97, -3198.86, -38.53),
  303.         radius = 0.4,
  304.         teleport = vector3(1002.38, -3198.91, -39.99),
  305.         heading = 82.52,
  306.     },
  307.     --Pouring
  308.     Pouring = {
  309.         header = "Start Cooking",
  310.         description = "Ingredients: 1x Amoniak, 1x Sodium benzoate",
  311.         coords = vector3(1005.76, -3200.91, -38.1),
  312.         radius = 0.6,
  313.         teleport = vector3(1005.71, -3200.39, -38.51),
  314.         heading = 180.0,
  315.         -- Items are in Complete
  316.     },
  317.     --Complete
  318.     Complete = {
  319.         coords = vector3(1007.84, -3201.51, -38.53),
  320.         radius = 0.5,
  321.         teleport = vector3(1007.89, -3201.09, -39.99),
  322.         heading = 188.27,
  323.         RequiredItems = {
  324.             { item = "meth_amoniak", count = 1, remove = true },
  325.             { item = "meth_sacid", count = 1, remove = true },
  326.         },
  327.         AddItems = {
  328.             { item = "meth_glass", count = 1 },
  329.             { item = "meth_emptysacid", count = 1 },
  330.         },
  331.         Log = "Has proccessed 1x Amoniak, 1x Sodium benzoate into 1x Meth tray"
  332.     },
  333.     --Break
  334.     Break = {
  335.         header = "Break Meth",
  336.         description = "Ingredients: 1x Meth tray, 1x Hammer",
  337.         coords = vector3(1016.47, -3194.15, -39.01),
  338.         radius = 0.5,
  339.         teleport = vector3(1016.70 - 3.6, -3195.64 - 1.0, -38.99 - 1.0),
  340.         heading = 180.0,
  341.         RequiredItems = {
  342.             { item = "meth_glass", count = 1, remove = true },
  343.             { item = "hammer", count = 1, remove = false },
  344.         },
  345.         AddItems = {
  346.             { item = "meth_sharp", count = 1 },
  347.         },
  348.         Log = "Has proccessed 1x Meth tray, 1x Hammer into 1x Broken Meth tray"
  349.     },
  350.     --Package
  351.     Package = {
  352.         header = "Pack Meth",
  353.         description = "Ingredients: 1x Broken Meth tray, 1x Plastic bag",
  354.         coords = vector3(1011.28, -3194.15, -39.04),
  355.         radius = 0.5,
  356.         teleport = vector3(1012.24, -3196.25, -38.99),
  357.         heading = 180.0,
  358.         RequiredItems = {
  359.             { item = "meth_sharp", count = 1, remove = true },
  360.             { item = "plastic_bag", count = 1, remove = true },
  361.         },
  362.         AddItems = {
  363.             { item = "meth_bag", count = 1 },
  364.         },
  365.         Log = "Has proccessed 1x Broken Meth tray, 1x Plastic bag into 1x Meth bag"
  366.  
  367.     },
  368. }
  369.  
  370. --Heroin
  371. Config.Heroin = {
  372.     --Field
  373.     Field = {
  374.         coords = vec3(4123.8, 4499.54, 17.55),
  375.         radius = 50.85,
  376.         Duration = 10000,
  377.         name = "PoppyField",
  378.         debugPoly = false,
  379.         RequiredItems = {
  380.             { item = "trowel", count = 1, remove = false },
  381.         },
  382.         AddItems = {
  383.             { item = "poppyplant", count = 1 },
  384.         },
  385.         prop = `prop_plant_01b`, -- DO NOT CHANGE THIS UNLESS YOU KNOW WHAT YOU ARE
  386.         Log = "Has picked up 1x Poppy Plant"
  387.     },
  388.     --Process
  389.     Process = {
  390.         header = "Process Poppy plants",
  391.         description = "Ingredients: 3x Poppy plant, 1x Amoniak, 1x Plastic bag",
  392.         coords = vector3(1391.41, 3605.55, 39.07),
  393.         radius = 0.4,
  394.         Teleport = vector3(1391.87, 3605.64, 37.94),
  395.         Duration = 30000,
  396.         RequiredItems = {
  397.             { item = "poppyplant", count = 3, remove = true },
  398.             { item = "meth_amoniak", count = 1, remove = true },
  399.             { item = "plastic_bag", count = 1, remove = true },
  400.         },
  401.         AddItems = {
  402.             { item = "heroin", count = 1 },
  403.         },
  404.         Log = "Has proccessed 3x Poppy plant, 1x Amoniak, 1x Plastic bag into 1x heroin"
  405.     },
  406. }
  407.  
  408. --Crack
  409. Config.Crack = {
  410.     --Process
  411.     Process = {
  412.         header = "Make Crack",
  413.         description = "Ingredients: 2x Pure Coke, 1x Baking Soda, 1x Water Bottle",
  414.         coords = vector3(2431.04, 4971.46, 42.28),
  415.         radius = 0.4,
  416.         Teleport = vector3(2431.47, 4970.94, 41.35),
  417.         Duration = 60000,
  418.         RequiredItems = {
  419.             { item = "coke_pure", count = 2, remove = true },
  420.             { item = "baking_soda", count = 1, remove = true },
  421.             { item = "water", count = 1, remove = true },
  422.         },
  423.         AddItems = {
  424.             { item = "crack", count = 1 },
  425.         },
  426.         Log = "Has proccessed 2x Pure Coke, 1x Baking Soda, Water Bottle into 1X Crack"
  427.     },
  428. }
  429.  
  430. --Coke
  431. Config.Coke = {
  432.     --LABORATORY
  433.     ElectricityNeeded = false,
  434.     --Lab circlezone
  435.     Electricity = {
  436.         coords = vector3(1091.5, -3191.67, -39.7),
  437.         radius = 0.4
  438.     },
  439.     --Lab Circlezone
  440.     Lab = {
  441.         coords = vector3(1092.68, -3194.89, -38.99),
  442.         radius = 18.85,
  443.         DebugPoly = false,
  444.         name = "CokeLab",
  445.     },
  446.     --ENTER LAB
  447.     Enterlab = {
  448.         coords = vector3(1242.16, -3113.78, 6.01),
  449.         radius = 1.2,
  450.         teleport = vector3(1088.76, -3187.68, -39.99),
  451.         NeedItem = true,
  452.         ItemName = "coke_access"
  453.     },
  454.     --LEAVE LAB
  455.     LeaveLab = {
  456.         coords = vector3(1088.66, -3187.51, -38.83),
  457.         radius = 0.8,
  458.         teleport = vector3(1242.16, -3113.78, 6.01),
  459.     },
  460.     --Field
  461.     Field = {
  462.         coords = vector3(2526.91, 4358.54, 40.09),
  463.         radius = 40.0,
  464.         DebugPoly = false,
  465.         name = "Cokefield",
  466.         RequiredItems = {
  467.             { item = "trowel", count = 1, remove = false },
  468.         },
  469.         AddItems = {
  470.             { item = "coke_leaf", count = 1 },
  471.         },
  472.         Log = "Has Picked up Coke Leaf"
  473.     },
  474.     --LeafProcess
  475.     LeafProcess = {
  476.         header = "Process Coke leaves",
  477.         description = "Ingredients: 2x Coke Leaves", coords = vector3(1101.8, -3193.06, -38.98), radius = 0.4,
  478.         boxcoords = vector4(1101.81, -3193.14, -39.18, 90),
  479.         RequiredItems = {
  480.             { item = "coke_leaf", count = 2, remove = true },
  481.         },
  482.         AddItems = {
  483.             { item = "coke_box", count = 1 },
  484.         },
  485.         Log = "Has proccessed 2x Coke Leaves into 1X Coke Box"
  486.     },
  487.     --CokeBox
  488.     CokeBox = {
  489.         header = "Pour Coke",
  490.         description = "Ingredients: 1x Box with Coke",
  491.         coords = vector3(1086.8, -3195.31, -39.15), radius = 0.4, teleport = vector3(1087.31, -3196.04, -38.99),
  492.         heading = 0.0,
  493.         RequiredItems = {
  494.             { item = "coke_box", count = 1, remove = true },
  495.         },
  496.         AddItems = {
  497.             { item = "coke_raw", count = 3 },
  498.         },
  499.         Log = "Has proccessed 1x Coke Box into 3x Raw Coke"
  500.     },
  501.     --Coke Cleaning
  502.     Soda = {
  503.         header = "Clean Coke",
  504.         description = "Ingredients: 2x Raw Coke",
  505.         RequiredItems = {
  506.             { item = "coke_raw", count = 2, remove = true },
  507.         },
  508.         AddItems = {
  509.             { item = "coke_pure", count = 1 },
  510.         },
  511.         Log = "Has proccessed 2x Raw Coke into 1x Pure Coke"
  512.     },
  513.     SodaTables = {
  514.         -- use only headingtotable 0.0 or 180.0 | 270 and 90 dont work
  515.         { coords = vector3(1095.39, -3196.3, -39.15), radius = 0.4, DebugPoly = false, headingtotable = 0.0 },
  516.         { coords = vector3(1093.04, -3196.36, -39.15), radius = 0.4, DebugPoly = false, headingtotable = 0.0 },
  517.         { coords = vector3(1090.33, -3196.2, -39.15), radius = 0.4, DebugPoly = false, headingtotable = 0.0 },
  518.         { coords = vector3(1095.36, -3195.34, -39.15), radius = 0.4, DebugPoly = false, headingtotable = 180.0 },
  519.         { coords = vector3(1093.09, -3195.33, -39.15), radius = 0.4, DebugPoly = false, headingtotable = 180.0 },
  520.         { coords = vector3(1090.28, -3195.3, -39.15), radius = 0.4, DebugPoly = false, headingtotable = 180.0 },
  521.     },
  522.     --Packaging
  523.     FigurePackage = {
  524.         header = "Pack Coke",
  525.         description = "Ingredients: 1x Empty Action figure, 5x Pure Coke",
  526.         coords = vector3(1100.43, -3199.39, -39.26), radius = 0.5,
  527.         teleport = vector3(1100.62 - 7.0, -3198.83 + 2.2, -38.99 - 1.0), heading = 180.0,
  528.         RequiredItems = {
  529.             { item = "coke_pure", count = 5, remove = true },
  530.             { item = "coke_figureempty", count = 1, remove = true },
  531.         },
  532.         AddItems = {
  533.             { item = "coke_figure", count = 1 },
  534.         },
  535.         Log = "Has proccessed 1x Empty Action figure, 5x Pure Coke into 1x Coke Figure"
  536.     },
  537. }
  538.  
  539. --Mushrooms
  540. Config.MushroomsField = {
  541.     --Field!
  542.     coords = vec3(-582.9, 5834.17, 30.61),
  543.     radius = 18.85,
  544.     name = "MushroomsField",
  545.     debugPoly = false,
  546.     prop = `prop_stoneshroom2`, -- DO NOT CHANGE THIS UNLESS YOU KNOW WHAT YOU ARE DOING
  547.     RequiredItems = {
  548.         { item = "trowel", count = 1, remove = false },
  549.     },
  550.     AddItems = {
  551.         { item = "magicmushroom", count = 1 },
  552.     },
  553.     Log = "Has picked up Mushroom"
  554. }
  555.  
  556. --Peyote
  557. Config.PeyoteField = {
  558.     --Field!
  559.     coords = vec3(318.78, 4319.8, 48.09),
  560.     radius = 38.85,
  561.     name = "PeyoteField",
  562.     DebugPoly = false,
  563.     RequiredItems = {
  564.         { item = "trowel", count = 1, remove = false },
  565.     },
  566.     AddItems = {
  567.         { item = "peyote", count = 1 },
  568.     },
  569.     prop = `prop_peyote_highland_01`, -- DO NOT CHANGE THIS UNLESS YOU KNOW WHAT YOU ARE DOING
  570.     Log = "Has picked up Peyote"
  571. }
  572.  
  573. --Selling
  574. Config.PhoneBooths = { -- use hash
  575.     -429560270,
  576.     -1559354806,
  577.     -78626473,
  578.     295857659,
  579.     -2103798695,
  580.     -870868698,
  581.     -1126237515,
  582.     506770882,
  583.     1158960338,
  584.     1511539537,
  585.     1281992692
  586. }
  587.  
  588. Config.Drugs = {
  589.     weed_package = { -- Item name
  590.         Label = "Weed", -- Item label
  591.         ReqPolice = 0, -- Police count
  592.         ReportChance = 5, --Dispatch Chance 0 - 100 %
  593.         MinPrice = 25, -- Min price
  594.         MaxPrice = 55, -- Max price
  595.         MinCount = 1, -- Min Count
  596.         MaxCount = 5, -- Max Count
  597.         Chance = 100, -- 0 - 100% succes of negotiate for better price
  598.         AttackChance = 5, -- 0 - 100% Chance of NPC atacking player
  599.         animation = {
  600.             model = `bkr_prop_weed_bag_01a`,
  601.             pos = vec3(0.16, 0.04, -0.05),
  602.             rot = vec3(0.0, 26.0, 100.0),
  603.             bone = 57005
  604.         }
  605.     },
  606.     meth_bag = { -- Item name
  607.         Label = "Meth", -- Item label
  608.         ReqPolice = 0, -- Police count
  609.         ReportChance = 5, --Dispatch Chance 0 - 100 %
  610.         MinPrice = 25, -- Min price
  611.         MaxPrice = 55, -- Max price
  612.         MinCount = 1, -- Min Count
  613.         MaxCount = 5, -- Max Count
  614.         Chance = 80, -- 0 - 100% succes of negotiate for better price
  615.         AttackChance = 5, -- 0 - 100% Chance of NPC atacking player
  616.         animation = {
  617.             model = `prop_meth_bag_01`,
  618.             pos = vec3(0.16, 0.04, -0.05),
  619.             rot = vec3(0.0, 26.0, 100.0),
  620.             bone = 57005
  621.         },
  622.     },
  623.     crack = { -- Item name
  624.         Label = "Crack", -- Item label
  625.         ReqPolice = 0, -- Police count
  626.         ReportChance = 5, --Dispatch Chance 0 - 100 %
  627.         MinPrice = 10, -- Min price
  628.         MaxPrice = 33, -- Max price
  629.         MinCount = 1, -- Min Count
  630.         MaxCount = 5, -- Max Count
  631.         Chance = 80, -- 0 - 100% succes of negotiate for better price
  632.         AttackChance = 5, -- 0 - 100% Chance of NPC atacking player
  633.         animation = {
  634.             model = `bkr_prop_weed_bag_01a`,
  635.             pos = vec3(0.16, 0.04, -0.05),
  636.             rot = vec3(0.0, 26.0, 100.0),
  637.             bone = 57005
  638.         },
  639.     },
  640.     heroin = { -- Item name
  641.         Label = "Heroin", -- Item label
  642.         ReqPolice = 0, -- Police count
  643.         ReportChance = 5, --Dispatch Chance 0 - 100 %
  644.         MinPrice = 10, -- Min price
  645.         MaxPrice = 33, -- Max price
  646.         MinCount = 1, -- Min Count
  647.         MaxCount = 5, -- Max Count
  648.         Chance = 80, -- 0 - 100% succes of negotiate for better price
  649.         AttackChance = 5, -- 0 - 100% Chance of NPC atacking player
  650.         animation = {
  651.             model = `bkr_prop_weed_bag_01a`,
  652.             pos = vec3(0.16, 0.04, -0.05),
  653.             rot = vec3(0.0, 26.0, 100.0),
  654.             bone = 57005
  655.         },
  656.     },
  657.     coke_figure = { -- Item name
  658.         Label = "Action Figure with Coke", -- Item label
  659.         ReqPolice = 0, -- Police count
  660.         ReportChance = 5, --Dispatch Chance 0 - 100 %
  661.         MinPrice = 25, -- Min price
  662.         MaxPrice = 55, -- Max price
  663.         MinCount = 1, -- Min Count
  664.         MaxCount = 5, -- Max Count
  665.         Chance = 80, -- 0 - 100% succes of negotiate for better price
  666.         AttackChance = 5, -- 0 - 100% Chance of NPC atacking player
  667.         animation = {
  668.             model = `bkr_prop_coke_doll`,
  669.             pos = vec3(0.16, 0.04, -0.05),
  670.             rot = vec3(0.0, 26.0, 100.0),
  671.             bone = 57005
  672.         }
  673.     }
  674. }
  675.  
  676. --Consumables
  677. Config.Consumables = {
  678.     weed_joint = { -- Item name
  679.         Remove = true, -- Remove item
  680.         Log = "Has smoked joint",
  681.         RemoveItem = "weed_joint", -- Remove Item name
  682.         RemoveItemCount = 1, -- Remove Item Count
  683.         ProgressBar = "Smoking pot",
  684.         duration = 5500,
  685.         effect = "weed",
  686.         animation = {
  687.             emote = {
  688.                 enabled = false,
  689.                 anim = {
  690.                     dict = 'amb@world_human_aa_smoke@male@idle_a',
  691.                     clip = 'idle_c'
  692.                 },
  693.                 prop = {
  694.                     model = `prop_cigar_02`,
  695.                     pos = vec3(0.01, 0.0, 0.02),
  696.                     rot = vec3(0.0, 0.0, -170.0),
  697.                     bone = 28422
  698.                 },
  699.             },
  700.             scenario = {
  701.                 enabled = true,
  702.                 anim = {
  703.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  704.                 },
  705.             },
  706.             custom = {
  707.                 enabled = true,
  708.                 anim = "syringe"
  709.             }
  710.         }
  711.     },
  712.     meth_syringe = { -- Item name
  713.         Remove = true, -- Remove item
  714.         Log = "Has used Syringe with Meth",
  715.         RemoveItem = "meth_syringe", -- Remove Item name
  716.         RemoveItemCount = 1, -- Remove Item Count
  717.         ProgressBar = "Shooting Meth",
  718.         duration = 13500,
  719.         effect = "Poison",
  720.         animation = {
  721.             emote = {
  722.                 enabled = false,
  723.                 anim = {
  724.                     dict = 'amb@world_human_aa_smoke@male@idle_a',
  725.                     clip = 'idle_c'
  726.                 },
  727.                 prop = {
  728.                     model = `prop_cigar_02`,
  729.                     pos = vec3(0.01, 0.0, 0.02),
  730.                     rot = vec3(0.0, 0.0, -170.0),
  731.                     bone = 28422
  732.                 },
  733.             },
  734.             scenario = {
  735.                 enabled = false,
  736.                 anim = {
  737.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  738.                 },
  739.             },
  740.             custom = {
  741.                 enabled = true,
  742.                 anim = "syringe"
  743.             }
  744.         }
  745.     },
  746.     heroin_syringe = { -- Item name
  747.         Remove = true, -- Remove item
  748.         Log = "Has used Syringe with Heroin",
  749.         RemoveItem = "heroin_syringe", -- Remove Item name
  750.         RemoveItemCount = 1, -- Remove Item Count
  751.         ProgressBar = "Shooting Heroin",
  752.         duration = 13500,
  753.         effect = "Poison",
  754.         animation = {
  755.             emote = {
  756.                 enabled = false,
  757.                 anim = {
  758.                     dict = 'amb@world_human_aa_smoke@male@idle_a',
  759.                     clip = 'idle_c'
  760.                 },
  761.                 prop = {
  762.                     model = `prop_cigar_02`,
  763.                     pos = vec3(0.01, 0.0, 0.02),
  764.                     rot = vec3(0.0, 0.0, -170.0),
  765.                     bone = 28422
  766.                 },
  767.             },
  768.             scenario = {
  769.                 enabled = false,
  770.                 anim = {
  771.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  772.                 },
  773.             },
  774.             custom = {
  775.                 enabled = true,
  776.                 anim = "syringe"
  777.             }
  778.         }
  779.     },
  780.     meth_pipe = { -- Item name
  781.         Remove = true, -- Remove item
  782.         Log = "Has smoked Meth pipe",
  783.         RemoveItem = "meth_bag", -- Remove Item name
  784.         RemoveItemCount = 1, -- Remove Item Count
  785.         ProgressBar = "Smoking Meth",
  786.         duration = 17500,
  787.         effect = "Poison",
  788.         animation = {
  789.             emote = {
  790.                 enabled = true,
  791.                 anim = {
  792.                     dict = 'switch@trevor@trev_smoking_meth',
  793.                     clip = 'trev_smoking_meth_loop',
  794.                 },
  795.                 prop = {
  796.                     model = `prop_cs_meth_pipe`,
  797.                     pos = vec3(0.12, -0.05, -0.03),
  798.                     rot = vec3(19.0, 10.0, -10.0),
  799.                     bone = 57005
  800.                 },
  801.             },
  802.             scenario = {
  803.                 enabled = false,
  804.                 anim = {
  805.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  806.                 },
  807.             },
  808.             custom = {
  809.                 enabled = false,
  810.                 anim = "syringe"
  811.             }
  812.         }
  813.     },
  814.     xanaxpill = { -- Item name
  815.         Remove = true, -- Remove item
  816.         Log = "Has popped Xanax Pill",
  817.         RemoveItem = "xanaxpill", -- Remove Item name
  818.         RemoveItemCount = 1, -- Remove Item Count
  819.         ProgressBar = "Poppin pill",
  820.         duration = 2500,
  821.         effect = "xanax",
  822.         animation = {
  823.             emote = {
  824.                 enabled = true,
  825.                 anim = {
  826.                     dict = 'mp_suicide',
  827.                     clip = 'pill',
  828.                 },
  829.                 prop = {
  830.                     model = nil,
  831.                     pos = nil,
  832.                     rot = nil,
  833.                     bone = nil
  834.                 },
  835.             },
  836.             scenario = {
  837.                 enabled = false,
  838.                 anim = {
  839.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  840.                 },
  841.             },
  842.             custom = {
  843.                 enabled = false,
  844.                 anim = "syringe"
  845.             }
  846.         }
  847.     },
  848.     lsd = { -- Item name
  849.         Remove = true, -- Remove item
  850.         Log = "Has swalowed LSD",
  851.         RemoveItem = "lsd", -- Remove Item name
  852.         RemoveItemCount = 1, -- Remove Item Count
  853.         ProgressBar = "Taking LSD",
  854.         duration = 2500,
  855.         effect = "trip",
  856.         animation = {
  857.             emote = {
  858.                 enabled = true,
  859.                 anim = {
  860.                     dict = 'mp_suicide',
  861.                     clip = 'pill',
  862.                 },
  863.                 prop = {
  864.                     model = nil,
  865.                     pos = nil,
  866.                     rot = nil,
  867.                     bone = nil
  868.                 },
  869.             },
  870.             scenario = {
  871.                 enabled = false,
  872.                 anim = {
  873.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  874.                 },
  875.             },
  876.             custom = {
  877.                 enabled = false,
  878.                 anim = "syringe"
  879.             }
  880.         }
  881.     },
  882.     ecstasy = { -- Item name
  883.         Remove = true, -- Remove item
  884.         Log = "Has swalowed Ecstasy",
  885.         RemoveItem = "ecstasy", -- Remove Item name
  886.         RemoveItemCount = 1, -- Remove Item Count
  887.         ProgressBar = "Taking Ecstasy",
  888.         duration = 2500,
  889.         effect = "ecstasy",
  890.         animation = {
  891.             emote = {
  892.                 enabled = true,
  893.                 anim = {
  894.                     dict = 'mp_suicide',
  895.                     clip = 'pill',
  896.                 },
  897.                 prop = {
  898.                     model = nil,
  899.                     pos = nil,
  900.                     rot = nil,
  901.                     bone = nil
  902.                 },
  903.             },
  904.             scenario = {
  905.                 enabled = false,
  906.                 anim = {
  907.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  908.                 },
  909.             },
  910.             custom = {
  911.                 enabled = false,
  912.                 anim = "syringe"
  913.             }
  914.         }
  915.     },
  916.     coke_pure = { -- Item name
  917.         Remove = true, -- Remove item
  918.         Log = "Has snorted Pure Coke",
  919.         RemoveItem = "coke_pure", -- Remove Item name
  920.         RemoveItemCount = 1, -- Remove Item Count
  921.         ProgressBar = "Snorting Coke",
  922.         duration = 4000,
  923.         effect = "coke",
  924.         animation = {
  925.             emote = {
  926.                 enabled = true,
  927.                 anim = {
  928.                     dict = 'anim@amb@nightclub@peds@',
  929.                     clip = 'missfbi3_party_snort_coke_b_male3',
  930.                 },
  931.                 prop = {
  932.                     model = nil,
  933.                     pos = nil,
  934.                     rot = nil,
  935.                     bone = nil
  936.                 },
  937.             },
  938.             scenario = {
  939.                 enabled = false,
  940.                 anim = {
  941.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  942.                 },
  943.             },
  944.             custom = {
  945.                 enabled = false,
  946.                 anim = "syringe"
  947.             }
  948.         }
  949.     },
  950.     crack_pipe = { -- Item name
  951.         Remove = true, -- Remove item
  952.         Log = "Has smoked Crack Pipe",
  953.         RemoveItem = "crack", -- Remove Item name
  954.         RemoveItemCount = 1, -- Remove Item Count
  955.         ProgressBar = "Smoking Crack",
  956.         duration = 17500,
  957.         effect = "alien",
  958.         animation = {
  959.             emote = {
  960.                 enabled = true,
  961.                 anim = {
  962.                     dict = 'switch@trevor@trev_smoking_meth',
  963.                     clip = 'trev_smoking_meth_loop',
  964.                 },
  965.                 prop = {
  966.                     model = `prop_cs_crackpipe`,
  967.                     pos = vec3(0.13, -0.09, -0.05),
  968.                     rot = vec3(29.0, 28.0, -1.0),
  969.                     bone = 57005
  970.                 },
  971.             },
  972.             scenario = {
  973.                 enabled = false,
  974.                 anim = {
  975.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  976.                 },
  977.             },
  978.             custom = {
  979.                 enabled = false,
  980.                 anim = "syringe"
  981.             }
  982.         }
  983.     },
  984.     magicmushroom = { -- Item name
  985.         Remove = true, -- Remove item
  986.         Log = "Has eaten Magic Mushroom",
  987.         RemoveItem = "magicmushroom", -- Remove Item name
  988.         RemoveItemCount = 1, -- Remove Item Count
  989.         ProgressBar = "Eating Magic Mushroom",
  990.         duration = 17500,
  991.         effect = "trip",
  992.         animation = {
  993.             emote = {
  994.                 enabled = true,
  995.                 anim = {
  996.                     dict = 'amb@world_human_drinking@coffee@male@idle_a',
  997.                     clip = 'idle_c',
  998.                 },
  999.                 prop = {
  1000.                     model = `ng_proc_leaves08`,
  1001.                     pos = vec3(0.14, 0.01, -0.03),
  1002.                     rot = vec3(0.0, 0.0, 50.0),
  1003.                     bone = 57005
  1004.                 },
  1005.             },
  1006.             scenario = {
  1007.                 enabled = false,
  1008.                 anim = {
  1009.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  1010.                 },
  1011.             },
  1012.             custom = {
  1013.                 enabled = false,
  1014.                 anim = "syringe"
  1015.             }
  1016.         }
  1017.     },
  1018.     peyote = { -- Item name
  1019.         Remove = true, -- Remove item
  1020.         Log = "Has eaten Peyote",
  1021.         RemoveItem = "peyote", -- Remove Item name
  1022.         RemoveItemCount = 1, -- Remove Item Count
  1023.         ProgressBar = "Eating Peyote",
  1024.         duration = 1500,
  1025.         effect = "trip",
  1026.         animation = {
  1027.             emote = {
  1028.                 enabled = true,
  1029.                 anim = {
  1030.                     dict = 'amb@world_human_drinking@coffee@male@idle_a',
  1031.                     clip = 'idle_c',
  1032.                 },
  1033.                 prop = {
  1034.                     model = `prop_peyote_highland_01`,
  1035.                     pos = vec3(0.15, 0.01, -0.09),
  1036.                     rot = vec3(-90.0, -9.0, 0.0),
  1037.                     bone = 57005
  1038.                 },
  1039.             },
  1040.             scenario = {
  1041.                 enabled = false,
  1042.                 anim = {
  1043.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  1044.                 },
  1045.             },
  1046.             custom = {
  1047.                 enabled = false,
  1048.                 anim = "syringe"
  1049.             }
  1050.         }
  1051.     },
  1052.     weed_blunt = { -- Item name
  1053.         Remove = true, -- Remove item
  1054.         Log = "Has smoked Blunt",
  1055.         RemoveItem = "weed_blunt", -- Remove Item name
  1056.         RemoveItemCount = 1, -- Remove Item Count
  1057.         ProgressBar = "Smoking blunt",
  1058.         duration = 17500,
  1059.         effect = "weed",
  1060.         animation = {
  1061.             emote = {
  1062.                 enabled = true,
  1063.                 anim = {
  1064.                     dict = 'amb@world_human_aa_smoke@male@idle_a',
  1065.                     clip = 'idle_c'
  1066.                 },
  1067.                 prop = {
  1068.                     model = `prop_cigar_02`,
  1069.                     pos = vec3(0.01, 0.0, 0.02),
  1070.                     rot = vec3(0.0, 0.0, -170.0),
  1071.                     bone = 28422
  1072.                 },
  1073.             },
  1074.             scenario = {
  1075.                 enabled = false,
  1076.                 anim = {
  1077.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  1078.                 },
  1079.             },
  1080.             custom = {
  1081.                 enabled = true,
  1082.                 anim = "syringe"
  1083.             }
  1084.         }
  1085.     }
  1086. }
  1087.  
Add Comment
Please, Sign In to add comment