Advertisement
Guest User

Oil theft L3onskyy

a guest
Jan 15th, 2023
707
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.86 KB | None | 0 0
  1. Config = {}
  2.  
  3. Config.debug = false
  4.  
  5. --- SETTINGS FOR ESX
  6. Config.esxSettings = {
  7.     enabled = true,
  8.     oldEsx = false,
  9.     moneyAccount = 'black_money',
  10. }
  11.  
  12. --- SETTINGS FOR QBCORE
  13. Config.qbSettings = {
  14.     enabled = false,
  15.     useNewQBExport = true, -- Make sure to uncomment the old export inside fxmanifest.lua if you're still using it
  16.     moneyAccount = 'cash',
  17. }
  18.  
  19. Config.target = {
  20.     enabled = false,
  21.     system = 'ox_target' -- 'qtarget' or 'qb-target' or 'ox_target'  (Other systems might work as well)
  22. }
  23.  
  24.  
  25. -- All the areas where empty oil barrels will spawn in
  26. Config.areas = {
  27.     {
  28.         coords = {
  29.             x = -162.08, y = 6144.09, z = 31.15
  30.         },
  31.         radius = 2.0,
  32.         amount = 3,
  33.         blip = {
  34.             blipVisible = true,
  35.             areaVisible = false,
  36.             icon = 654,
  37.             color = 29,
  38.             scale = 0.9,
  39.         },
  40.     },
  41.     {
  42.         coords = {
  43.             x = -169.76, y = 6173.6, z = 31.15
  44.         },
  45.         radius = 2.0,
  46.         amount = 4,
  47.         blip = {
  48.             blipVisible = false,
  49.             areaVisible = false,
  50.             icon = 654,
  51.             color = 82,
  52.             scale = 0.9,
  53.         },
  54.     },
  55.     {
  56.         coords = {
  57.             x = -132.3, y = 6164.7, z = 31.0
  58.         },
  59.         radius = 2.0,
  60.         amount = 2,
  61.         blip = {
  62.             blipVisible = false,
  63.             areaVisible = false,
  64.             icon = 654,
  65.             color = 82,
  66.             scale = 0.9,
  67.         },
  68.     },
  69.     {
  70.         coords = {
  71.             x = -109.13, y = 6184.0, z = 31.0
  72.         },
  73.         radius = 1.2,
  74.         amount = 2,
  75.         blip = {
  76.             blipVisible = false,
  77.             areaVisible = false,
  78.             icon = 654,
  79.             color = 82,
  80.             scale = 0.9,
  81.         },
  82.     },
  83. }
  84.  
  85. Config.crafting = {
  86.     {
  87.         location = {
  88.             x = 544.88, y = 2882.48, z = 42.9, h = 150.0,
  89.         },
  90.         prop = 'prop_roofpipe_01',
  91.         duration = 10000,
  92.         requiredItems = {
  93.             {
  94.                 item = 'ln_oil_barrel_empty',
  95.                 amount = 1,
  96.             },
  97.         },
  98.         craftedItem = 'ln_oil_barrel_full', -- result item
  99.         craftedAmount = 1,
  100.        
  101.         blip = {
  102.             enabled = true,
  103.             sprite = 436,
  104.             color = 29,
  105.             scale = 0.9,
  106.         },
  107.     },
  108.     {
  109.         location = {
  110.             x = 647.51, y = 2928.48, z = 42.01, h = 215.0,
  111.         },
  112.         prop = 'prop_roofpipe_01',
  113.         duration = 10000,
  114.         requiredItems = {
  115.             {
  116.                 item = 'ln_oil_barrel_empty',
  117.                 amount = 1,
  118.             },
  119.         },
  120.         craftedItem = 'ln_oil_barrel_full', -- result item
  121.         craftedAmount = 1,
  122.        
  123.         blip = {
  124.             enabled = true,
  125.             sprite = 436,
  126.             color = 29,
  127.             scale = 0.9,
  128.         },
  129.     }
  130. }
  131.  
  132.  
  133. Config.selling = {
  134.     {
  135.         location = {
  136.             x = 2744.11, y = 1486.59, z = 30.79, h = 251.9,
  137.         },
  138.  
  139.         pedModel = 'a_m_m_hasjew_01',
  140.  
  141.         duration = 2000,
  142.        
  143.         items = {
  144.             {
  145.                 item = 'ln_oil_barrel_full',
  146.                 label = 'Oil barrel',
  147.                 price = math.random(700, 1100),
  148.             },
  149.         },
  150.  
  151.         blip = {
  152.             enabled = true,
  153.             sprite = 801,
  154.             color = 29,
  155.             scale = 0.7,
  156.         },
  157.     }
  158. }
  159.  
  160. ----------------------------------------------------------------------------------------------
  161. --- KEYBINDS
  162. ----------------------------------------------------------------------------------------------
  163. -- https://docs.fivem.net/docs/game-references/controls/
  164. -- Use the input index for the "input" value
  165. Config.keybinds = {
  166.     interact = {
  167.         label = 'E',
  168.         input = 38,
  169.     },
  170. }
  171.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement