Guest User

Untitled

a guest
Jun 27th, 2024
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.01 KB | None | 0 0
  1. Config = {}
  2. Config.Locale = 'en'
  3.  
  4. Config.Framework = "ESX" -- ESX or qbcore
  5. Config.EnableDebug = false -- Enable/Disable prints and showing box of ox_target
  6. Config.PoliceJobs =  {"police", "sheriff"} -- Name of the job for script
  7. Config.Target = "ox_target" -- ox_target, qb-target
  8. Config.Notify = "ox_lib" -- ox_lib, qbcore or ESX
  9. Config.Dispatch = "cd_dispatch" -- cd_dispatch, linden_outlawalert, ps-disptach, core-dispatch, qs-dispatch
  10. Config.MoneyType = "money" -- The type of money which NPC will give you: money, black_money, etc.
  11. Config.PedTimeout = 60 * 30 -- For how long will the ped be disabled
  12. Config.DisablePedOnlyOnSale = false -- Will give a ped timeout only when player succesfully sell the drug to the NPC
  13.  
  14. --All the names of sellable drugs.
  15. Config.Drugs = {
  16.     ['weed_bag'] = { -- Index of a item
  17.         itemLabel = "Weed bag", -- Item name
  18.         targetLabel = "Sell weed", -- The label for target
  19.         prop = "sf_prop_sf_bag_weed_01b", -- Prop name for the animation
  20.         requiredPolice = 1, -- Required police online for beeing able to sell the drugs
  21.         price = math.random(2500, 4500), -- Price of drug, can be set to static price by: price = 3000
  22.         moreInDelivery = math.random(100, 500), -- How much more will player get when deliverying drugs to the house
  23.         sellChance = 90, -- Chance of successfully selling the drug
  24.         gunChance = 5, -- Chance of NPC pulling gun at you when the getotiate diffrence is too high
  25.         addXp = 0.5, -- How much XP add after successfull sell
  26.         addPerXp = math.random(10, 50), -- How much money will NPC give you extra per XP
  27.         maxNegotiationDiffrence = 250, -- How much more can you negotiate the price for NPC not reject you
  28.         dispatchChance = 20, -- Chance of NPC report you to the police
  29.         max = 4, -- Maximum value of drug the NPC will want from you
  30.     },
  31.     ['meth_bag'] = { -- Index of a item
  32.         itemLabel = "Meth bag", -- Item name
  33.         targetLabel = "Sell meth", -- The label for target
  34.         prop = "bkr_prop_meth_smallbag_01a", -- Prop name for the animation
  35.         requiredPolice = 3,  -- Required police online for beeing able to sell the drugs
  36.         price = math.random(3750, 5500), -- Price of drug, can be set to static price by: price = 3000
  37.         moreInDelivery = math.random(100, 500), -- How much more will player get when deliverying drugs to the house
  38.         sellChance = 80, -- Chance of successfully selling the drug
  39.         gunChance = 10, -- Chance of NPC pulling gun at you when the getotiate diffrence is too high
  40.         addXp = 0.5, -- How much XP add after successfull sell
  41.         addPerXp = math.random(10, 50), -- How much money will NPC give you extra per XP
  42.         maxNegotiationDiffrence = 250, -- How much more can you negotiate the price for NPC not reject you
  43.         dispatchChance = 20, -- Chance of NPC report you to the police
  44.         max = 4,  -- Maximum value of drug the NPC will want from you
  45.     },
  46.     ['crack'] = { -- Index of a item
  47.         itemLabel = "Crack", -- Item name
  48.         targetLabel = "Sell crack", -- The label for target
  49.         prop = "stt_prop_lives_bottle", -- Prop name for the animation
  50.         requiredPolice = 4,  -- Required police online for beeing able to sell the drugs
  51.         price = math.random(4900, 7500), -- Price of drug, can be set to static price by: price = 3000
  52.         moreInDelivery = math.random(100, 500), -- How much more will player get when deliverying drugs to the house
  53.         sellChance = 60, -- Chance of successfully selling the drug
  54.         gunChance = 15,  -- Chance of NPC pulling gun at you when the getotiate diffrence is too high
  55.         addXp = 0.5, -- How much XP add after successfull sell
  56.         addPerXp = math.random(10, 50), -- How much money will NPC give you extra per XP
  57.         maxNegotiationDiffrence = 250, -- How much more can you negotiate the price for NPC not reject you
  58.         dispatchChance = 20, -- Chance of NPC report you to the police
  59.         max = 4, -- Maximum value of drug the NPC will want from you
  60.     },
  61.     ['heroin']  = { -- Index of a item
  62.         itemLabel = "Heroin", -- Item name
  63.         targetLabel = "Sell heroin", -- The label for target
  64.         prop = "ba_dlc_ba_int2_powderbottle_02", -- Prop name for the animation
  65.         requiredPolice = 5,  -- Required police online for beeing able to sell the drugs
  66.         price =  math.random(3000, 7500), -- Price of drug, can be set to static price by: price = 3000
  67.         moreInDelivery = math.random(100, 500), -- How much more will player get when deliverying drugs to the house
  68.         sellChance = 50, -- Chance of successfully selling the drug
  69.         gunChance = 20, -- Chance of NPC pulling gun at you when the getotiate diffrence is too high
  70.         addXp = 0.5, -- How much XP add after successfull sell
  71.         addPerXp = math.random(10, 50), -- How much money will NPC give you extra per XP
  72.         maxNegotiationDiffrence = 250, -- How much more can you negotiate the price for NPC not reject you
  73.         dispatchChance = 20, -- Chance of NPC report you to the police
  74.         max = 4, -- Maximum value of drug the NPC will want from you
  75.     },
  76. }
  77.  
  78. Config.ReputationCommand = "reputation" -- Command for seeing your reputation
  79.  
  80. Config.DeliverCommand = "delivergoods" -- Command for deliverys
  81. Config.PedModel = { -- List of models for delivery
  82.     'a_f_m_beach_01',
  83.     'a_f_m_fatcult_01',
  84.     'a_f_m_soucent_01',
  85.     'a_f_y_beach_01',
  86.     'a_f_y_business_01',
  87.     'a_f_y_eastsa_03',
  88.     'a_f_y_yoga_01',
  89.     'a_m_m_afriamer_01',
  90.     'a_m_m_beach_01',
  91.     'a_m_m_business_01',
  92.     'a_m_m_prolhost_01',
  93.     'a_m_m_soucent_01',
  94.     'a_m_m_tennis_01',
  95.     'a_m_m_tranvest_01',
  96.     'a_m_y_beachvesp_01',
  97. }
  98. Config.DeliveryCoords = { -- Delivery coords
  99.     vector4(130.5650, -1853.1586, 25.2348, 154.8685),
  100.     vector4(161.8503, -1484.9667, 29.2235, 139.0606),
  101.     vector4(252.7466, -1670.6157, 29.6632, 142.2732),
  102.     vector4(253.6346, -1808.8706, 27.1131, 52.0881),
  103.     vector4(312.3402, -1956.2695, 24.6167, 250.1509),
  104.     vector4(374.1541, -1990.0739, 24.1146, 9.4718),
  105.     vector4(410.5589, -1910.5404, 25.4525, 96.2469),
  106.     vector4(414.4758, -1856.8365, 27.3231, 277.1396),
  107.     vector4(566.2897, -1778.2867, 29.3531, 329.2846),
  108.     vector4(140.0054, -1337.0083, 29.2023, 319.1562),
  109.     vector4(31.3897, -1315.7728, 29.5230, 5.4168),
  110.     vector4(-45.5262, -1290.0457, 29.2181, 276.6151),
  111.     vector4(-193.4952, -1260.6519, 31.4818, 275.5485),
  112.     vector4(-324.1944, -1356.3193, 31.2957, 91.5169),
  113.     vector4(121.8092, -239.8779, 53.3554, 163.6258),
  114.     vector4(202.5289, -149.2360, 61.2997, 254.1651),
  115.     vector4(239.9348, -122.0965, 70.1045, 164.0698),
  116.     vector4(14.3260, 84.6741, 74.6636, 250.2003),
  117.     vector4(-99.8854, 23.1243, 71.5528, 159.4343),
  118.     vector4(-176.2310, 60.4054, 67.6870, 173.8885),
  119.     vector4(-333.2682, 101.4259, 71.2180, 270.3980),
  120.     vector4(-596.6184, 209.6675, 74.1727, 182.5507),
  121.     vector4(-771.7123, 352.1929, 87.9983, 2.2386),
  122.     vector4(-1026.2635, 360.5343, 71.3615, 248.5054),
  123.     vector4(-1371.7249, 444.1879, 105.8572, 87.3113),
  124.     vector4(-1342.9684, 481.4029, 102.7619, 97.6438),
  125.     vector4(-596.7263, 851.4807, 211.4873, 49.0109),
  126.     vector4(-483.1296, 634.2839, 144.3837, 195.8358),
  127.     vector4(139.5904, 323.9851, 112.1386, 116.4101),
  128.     vector4(1041.3035, 2652.3794, 39.5511, 180.6516),
  129.     vector4(983.9660, 2718.9905, 39.5034, 182.9706),
  130.     vector4(1227.6884, 2741.7983, 38.0053, 0.6953),
  131.     vector4(620.6218, 2800.3589, 41.9433, 94.6755),
  132.     vector4(508.9223, 3099.5830, 41.3081, 56.3829),
  133.     vector4(1533.0315, 3722.3096, 34.8250, 27.0542),
  134.     vector4(1832.6295, 3868.5459, 34.2975, 114.2428),
  135.     vector4(1941.5378, 3842.6658, 35.5051, 122.4631),
  136.     vector4(2003.9109, 3790.5591, 32.1808, 298.5960),
  137.     vector4(1953.0972, 3753.0408, 32.2108, 32.3941),
  138.     vector4(1395.5159, 3623.6641, 35.0122, 21.7649),
  139.     vector4(1514.7089, 3784.7756, 34.4683, 136.3545),
  140.     vector4(2448.1392, 4056.7104, 38.0647, 160.1418),
  141.     vector4(1930.0505, 4634.8950, 40.4710, 2.6057),
  142.     vector4(1741.3590, 6419.5283, 35.0429, 356.0907),
  143.     vector4(157.1122, 6657.3594, 31.5601, 47.6944),
  144.     vector4(9.4258, 6506.1646, 31.5244, 217.8749),
  145.     vector4(-85.0721, 6406.4155, 31.7541, 226.5483),
  146.     vector4(-166.9957, 6312.4155, 31.6809, 138.6345),
  147.     vector4(-288.3768, 6299.1958, 31.4922, 47.9202),
  148.     vector4(-352.4550, 6231.2974, 31.4891, 136.0413),
  149.     vector4(-435.4762, 6154.5762, 31.4782, 57.8023),
  150. }
Add Comment
Please, Sign In to add comment