Guest User

ln_coketraffic config

a guest
Feb 16th, 2023
721
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.87 KB | None | 0 0
  1. Config = {}
  2.  
  3. Config.debug = false
  4.  
  5. -------------------------------------------------
  6. --- FRAMEWORK SETTINGS
  7. -------------------------------------------------
  8. Config.esxSettings = {
  9.     enabled = true,
  10.     -- Whether or not to use the new ESX export method
  11.     useNewESXExport = true,
  12.    
  13.     -- Money account used when picking up cash or selling off items
  14.     moneyAccount = 'black_money',
  15. }
  16.  
  17. Config.qbSettings = {
  18.     enabled = false,
  19.     -- Whether or not to use the new QBCore export method
  20.     useNewQBExport = true,
  21.    
  22.     -- Money account used when picking up cash or selling off items
  23.     moneyAccount = 'cash',
  24. }
  25.  
  26. -- Base amount of money players will get per kilometer
  27. Config.rewardPerKm = 100
  28.  
  29. -- Bonus to the reward based on amount of officers (profit = potentialProfit * distance * (multiplier^officerCount))
  30. Config.policeCountBonusMultiplier = 1.06
  31.  
  32. Config.policeJobs = {
  33.     'police',
  34.     'bcso',
  35. }
  36.  
  37. Config.selling = {
  38.     {
  39.         name = 'Cocaine trafficker',
  40.         location = vector4(-324.5, 6284.9, 32.48, 313.6),
  41.         pedModel = 'a_m_y_beach_01',
  42.  
  43.         blip = {
  44.             showBlip = true,
  45.    
  46.             -- https://docs.fivem.net/docs/game-references/blips/
  47.             sprite = 501,  -- Sprite for the trafficker blip
  48.             color = 76,  -- Color for the trafficker blip
  49.             scale = 0.7  -- Scale for the trafficker blip
  50.         },
  51.        
  52.         dropoffs = {
  53.             blip = {
  54.                 name = 'Cocaine dropoff location',
  55.                 showBlip = true,
  56.        
  57.                 -- https://docs.fivem.net/docs/game-references/blips/
  58.                 sprite = 161,  -- Sprite for the dropoff blip
  59.                 color = 76,  -- Color for the dropoff blip
  60.                 scale = 1.3  -- Scale for the dropoff blip
  61.             },
  62.             -- All possible drop off locations
  63.             locations = {
  64.                 vector3(62.6, 3699.68, 39.37),
  65.                 vector3(1317.25, 4317.16, 37.75),
  66.                 vector3(3804.67, 4471.1, 4.34),
  67.                 vector3(-1150.45, -1532, 3.86),
  68.                 vector3(309.36, -2076.2, 17.52),
  69.                 vector3(1410.72, -1499.26, 59.44),
  70.                 vector3(-1021.15, 812.4, 171.86),
  71.                 vector3(1835.27, 3910.23, 32.93),
  72.                 vector3(-3089.26, 340.55, 7.16),
  73.                 vector3(-53.13, 1949.54, 189.94),
  74.             },
  75.         },
  76.     },
  77. }
  78.  
  79. ----------------------------------------------------------------------------------------------
  80. --- KEYBINDS
  81. ----------------------------------------------------------------------------------------------
  82. -- https://docs.fivem.net/docs/game-references/controls/
  83. -- Use the input index for the "input" value
  84. Config.keybinds = {
  85.     interact = {
  86.         label = 'X',
  87.         input = 73,
  88.     },
  89.     placeItem = {
  90.         label = 'X',
  91.         input = 73,
  92.     },
  93. }
  94.  
Advertisement
Add Comment
Please, Sign In to add comment