Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config = {}
- Config.Locale = 'en'
- Config.Framework = "ESX" -- ESX or qbcore
- Config.EnableDebug = false -- Enable/Disable prints and showing box of ox_target
- Config.PoliceJobs = {"police", "sheriff"} -- Name of the job for script
- Config.Target = "ox_target" -- ox_target, qb-target
- Config.Notify = "ox_lib" -- ox_lib, qbcore or ESX
- Config.Dispatch = "cd_dispatch" -- cd_dispatch, linden_outlawalert, ps-disptach, core-dispatch, qs-dispatch
- Config.MoneyType = "money" -- The type of money which NPC will give you: money, black_money, etc.
- Config.PedTimeout = 60 * 30 -- For how long will the ped be disabled
- Config.DisablePedOnlyOnSale = false -- Will give a ped timeout only when player succesfully sell the drug to the NPC
- --All the names of sellable drugs.
- Config.Drugs = {
- ['weed_bag'] = { -- Index of a item
- itemLabel = "Weed bag", -- Item name
- targetLabel = "Sell weed", -- The label for target
- prop = "sf_prop_sf_bag_weed_01b", -- Prop name for the animation
- requiredPolice = 1, -- Required police online for beeing able to sell the drugs
- price = math.random(2500, 4500), -- Price of drug, can be set to static price by: price = 3000
- moreInDelivery = math.random(100, 500), -- How much more will player get when deliverying drugs to the house
- sellChance = 90, -- Chance of successfully selling the drug
- gunChance = 5, -- Chance of NPC pulling gun at you when the getotiate diffrence is too high
- addXp = 0.5, -- How much XP add after successfull sell
- addPerXp = math.random(10, 50), -- How much money will NPC give you extra per XP
- maxNegotiationDiffrence = 250, -- How much more can you negotiate the price for NPC not reject you
- dispatchChance = 20, -- Chance of NPC report you to the police
- max = 4, -- Maximum value of drug the NPC will want from you
- },
- ['meth_bag'] = { -- Index of a item
- itemLabel = "Meth bag", -- Item name
- targetLabel = "Sell meth", -- The label for target
- prop = "bkr_prop_meth_smallbag_01a", -- Prop name for the animation
- requiredPolice = 3, -- Required police online for beeing able to sell the drugs
- price = math.random(3750, 5500), -- Price of drug, can be set to static price by: price = 3000
- moreInDelivery = math.random(100, 500), -- How much more will player get when deliverying drugs to the house
- sellChance = 80, -- Chance of successfully selling the drug
- gunChance = 10, -- Chance of NPC pulling gun at you when the getotiate diffrence is too high
- addXp = 0.5, -- How much XP add after successfull sell
- addPerXp = math.random(10, 50), -- How much money will NPC give you extra per XP
- maxNegotiationDiffrence = 250, -- How much more can you negotiate the price for NPC not reject you
- dispatchChance = 20, -- Chance of NPC report you to the police
- max = 4, -- Maximum value of drug the NPC will want from you
- },
- ['crack'] = { -- Index of a item
- itemLabel = "Crack", -- Item name
- targetLabel = "Sell crack", -- The label for target
- prop = "stt_prop_lives_bottle", -- Prop name for the animation
- requiredPolice = 4, -- Required police online for beeing able to sell the drugs
- price = math.random(4900, 7500), -- Price of drug, can be set to static price by: price = 3000
- moreInDelivery = math.random(100, 500), -- How much more will player get when deliverying drugs to the house
- sellChance = 60, -- Chance of successfully selling the drug
- gunChance = 15, -- Chance of NPC pulling gun at you when the getotiate diffrence is too high
- addXp = 0.5, -- How much XP add after successfull sell
- addPerXp = math.random(10, 50), -- How much money will NPC give you extra per XP
- maxNegotiationDiffrence = 250, -- How much more can you negotiate the price for NPC not reject you
- dispatchChance = 20, -- Chance of NPC report you to the police
- max = 4, -- Maximum value of drug the NPC will want from you
- },
- ['heroin'] = { -- Index of a item
- itemLabel = "Heroin", -- Item name
- targetLabel = "Sell heroin", -- The label for target
- prop = "ba_dlc_ba_int2_powderbottle_02", -- Prop name for the animation
- requiredPolice = 5, -- Required police online for beeing able to sell the drugs
- price = math.random(3000, 7500), -- Price of drug, can be set to static price by: price = 3000
- moreInDelivery = math.random(100, 500), -- How much more will player get when deliverying drugs to the house
- sellChance = 50, -- Chance of successfully selling the drug
- gunChance = 20, -- Chance of NPC pulling gun at you when the getotiate diffrence is too high
- addXp = 0.5, -- How much XP add after successfull sell
- addPerXp = math.random(10, 50), -- How much money will NPC give you extra per XP
- maxNegotiationDiffrence = 250, -- How much more can you negotiate the price for NPC not reject you
- dispatchChance = 20, -- Chance of NPC report you to the police
- max = 4, -- Maximum value of drug the NPC will want from you
- },
- }
- Config.ReputationCommand = "reputation" -- Command for seeing your reputation
- Config.DeliverCommand = "delivergoods" -- Command for deliverys
- Config.PedModel = { -- List of models for delivery
- 'a_f_m_beach_01',
- 'a_f_m_fatcult_01',
- 'a_f_m_soucent_01',
- 'a_f_y_beach_01',
- 'a_f_y_business_01',
- 'a_f_y_eastsa_03',
- 'a_f_y_yoga_01',
- 'a_m_m_afriamer_01',
- 'a_m_m_beach_01',
- 'a_m_m_business_01',
- 'a_m_m_prolhost_01',
- 'a_m_m_soucent_01',
- 'a_m_m_tennis_01',
- 'a_m_m_tranvest_01',
- 'a_m_y_beachvesp_01',
- }
- Config.DeliveryCoords = { -- Delivery coords
- vector4(130.5650, -1853.1586, 25.2348, 154.8685),
- vector4(161.8503, -1484.9667, 29.2235, 139.0606),
- vector4(252.7466, -1670.6157, 29.6632, 142.2732),
- vector4(253.6346, -1808.8706, 27.1131, 52.0881),
- vector4(312.3402, -1956.2695, 24.6167, 250.1509),
- vector4(374.1541, -1990.0739, 24.1146, 9.4718),
- vector4(410.5589, -1910.5404, 25.4525, 96.2469),
- vector4(414.4758, -1856.8365, 27.3231, 277.1396),
- vector4(566.2897, -1778.2867, 29.3531, 329.2846),
- vector4(140.0054, -1337.0083, 29.2023, 319.1562),
- vector4(31.3897, -1315.7728, 29.5230, 5.4168),
- vector4(-45.5262, -1290.0457, 29.2181, 276.6151),
- vector4(-193.4952, -1260.6519, 31.4818, 275.5485),
- vector4(-324.1944, -1356.3193, 31.2957, 91.5169),
- vector4(121.8092, -239.8779, 53.3554, 163.6258),
- vector4(202.5289, -149.2360, 61.2997, 254.1651),
- vector4(239.9348, -122.0965, 70.1045, 164.0698),
- vector4(14.3260, 84.6741, 74.6636, 250.2003),
- vector4(-99.8854, 23.1243, 71.5528, 159.4343),
- vector4(-176.2310, 60.4054, 67.6870, 173.8885),
- vector4(-333.2682, 101.4259, 71.2180, 270.3980),
- vector4(-596.6184, 209.6675, 74.1727, 182.5507),
- vector4(-771.7123, 352.1929, 87.9983, 2.2386),
- vector4(-1026.2635, 360.5343, 71.3615, 248.5054),
- vector4(-1371.7249, 444.1879, 105.8572, 87.3113),
- vector4(-1342.9684, 481.4029, 102.7619, 97.6438),
- vector4(-596.7263, 851.4807, 211.4873, 49.0109),
- vector4(-483.1296, 634.2839, 144.3837, 195.8358),
- vector4(139.5904, 323.9851, 112.1386, 116.4101),
- vector4(1041.3035, 2652.3794, 39.5511, 180.6516),
- vector4(983.9660, 2718.9905, 39.5034, 182.9706),
- vector4(1227.6884, 2741.7983, 38.0053, 0.6953),
- vector4(620.6218, 2800.3589, 41.9433, 94.6755),
- vector4(508.9223, 3099.5830, 41.3081, 56.3829),
- vector4(1533.0315, 3722.3096, 34.8250, 27.0542),
- vector4(1832.6295, 3868.5459, 34.2975, 114.2428),
- vector4(1941.5378, 3842.6658, 35.5051, 122.4631),
- vector4(2003.9109, 3790.5591, 32.1808, 298.5960),
- vector4(1953.0972, 3753.0408, 32.2108, 32.3941),
- vector4(1395.5159, 3623.6641, 35.0122, 21.7649),
- vector4(1514.7089, 3784.7756, 34.4683, 136.3545),
- vector4(2448.1392, 4056.7104, 38.0647, 160.1418),
- vector4(1930.0505, 4634.8950, 40.4710, 2.6057),
- vector4(1741.3590, 6419.5283, 35.0429, 356.0907),
- vector4(157.1122, 6657.3594, 31.5601, 47.6944),
- vector4(9.4258, 6506.1646, 31.5244, 217.8749),
- vector4(-85.0721, 6406.4155, 31.7541, 226.5483),
- vector4(-166.9957, 6312.4155, 31.6809, 138.6345),
- vector4(-288.3768, 6299.1958, 31.4922, 47.9202),
- vector4(-352.4550, 6231.2974, 31.4891, 136.0413),
- vector4(-435.4762, 6154.5762, 31.4782, 57.8023),
- }
Add Comment
Please, Sign In to add comment