Advertisement
marcinhuUu

m-Investigation/config.lua

Sep 17th, 2022
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.31 KB | None | 0 0
  1. Config = {}
  2.  
  3. --------------------------
  4. -- Utility
  5. --------------------------
  6. Config.Utility = {
  7. CoreName = "qb-core", -- Your core name
  8. Target = "qb-target", -- Your qb-target name
  9. Debug = true, -- Enable qb-core console logs ?
  10. Menu = "qb-menu", -- Your qb-menu name
  11. Input = "qb-input", -- Your qb-input name
  12. Phone = "qs-smartphone", -- Your phone name | Available: qs-smartphone / gksphone / qb-phone
  13. Job = "investigation", -- Name of the job
  14. PS_MDT = true, -- Use ps-mdt?
  15. UseInsurance = true, -- Use m-Insurance?
  16. BossMenu = "qb-bossmenu:client:OpenMenu", -- Your trigger to open boss menu
  17. }
  18.  
  19. Config.SQL = { -- Your tables on database
  20. Player_Vehicles = "player_vehicles",
  21. Players = "players",
  22. }
  23.  
  24. Config.Blips = {
  25. Enable = true, -- Enable blips?
  26. Location = vector3(-1081.46, -249.0, 37.76), -- Location of blip
  27. Sprite = 60, -- https://docs.fivem.net/docs/game-references/blips/
  28. Scale = 0.8, -- Scale of blip
  29. Colour = 38, -- https://docs.fivem.net/docs/game-references/blips/
  30. Name = "Police Investigation", -- Name of blip
  31. }
  32.  
  33. Config.Peds = {
  34. [1] = {type = 4, hash= GetHashKey("s_m_y_cop_01"), x = -1052.42, y = -237.07, z = 31.31, h = 294.52}, -- Ped Garage
  35. }
  36.  
  37. --------------------------
  38. -- GSR
  39. --------------------------
  40. Config.GSR = {
  41. GSRAutoClean = 900, -- Amount of time before you are autocleaned (In Seconds)
  42. GSRTestDistance = 3, -- Max distace the command can be used to
  43. Wash = {
  44. Time = 10000, -- 10 Seconds
  45. Chance = 50, -- 50% chance of successfully removing gunpowder from clothing.
  46. }
  47. }
  48.  
  49. --------------------------
  50. -- Elevators
  51. --------------------------
  52. Config.Elevators = { -- There are only 2 coordinates but all the elevators work because they are all in the same place, only the height changes.
  53. vector3(-1075.32, -253.41, 37.76),
  54. vector3(-1077.95, -254.73, 37.76),
  55. }
  56.  
  57. --------------------------
  58. -- Shop with some eat
  59. --------------------------
  60. Config.Eating = { -- Some items the cops can buy to eat/drink.
  61. [1] = { name = "water_bottle", price = 0, amount = 10, info = {}, type = "item", slot = 1 },
  62. [2] = { name = "coffee", price = 0, amount = 10, info = {}, type = "item", slot = 2, },
  63. [3] = { name = "kurkakola", price = 0, amount = 10, info = {}, type = "item", slot = 3, },
  64. [4] = { name = "grapejuice", price = 0, amount = 10, info = {}, type = "item", slot = 4, },
  65. }
  66.  
  67. --------------------------
  68. -- Cells Cameras
  69. --------------------------
  70. Config.CellsCameras = {
  71. hideradar = false,
  72. cameras = {
  73. [1] = {label = "CAM#1", coords = vector3(-1050.91, -244.46, 37.97), r = {x = 0.0, y = 0.0, z = 28.03}, canRotate = true, isOnline = true},
  74. [2] = {label = "CAM#2", coords = vector3(-1054.44, -246.16, 37.97), r = {x = 0.0, y = 0.0, z = 28.03}, canRotate = true, isOnline = true},
  75. [3] = {label = "CAM#3", coords = vector3(-1058.08, -247.99, 37.97), r = {x = 0.0, y = 0.0, z = 28.03}, canRotate = true, isOnline = true},
  76. },
  77. }
  78.  
  79. --------------------------
  80. -- Pharmacy
  81. --------------------------
  82. Config.Pharmacy = { -- Some items the cops can buy
  83. [1] = { name = "bandage", price = 0, amount = 10, info = {}, type = "item", slot = 1 },
  84. }
  85.  
  86. --------------------------
  87. -- Garages
  88. --------------------------
  89. Config.SpawnCar = vector4(-1053.52, -233.4, 32.31, 115.72) -- Location to spawn the car
  90. Config.Vehicles = {
  91. [0] = { -- Grade
  92. ["police"] = "Investigation Car 1",
  93. ["police2"] = "Investigation Car 2",
  94. },
  95. [1] = { -- Grade
  96. ["police"] = "Investigation Car 1",
  97. ["police2"] = "Investigation Car 2",
  98. },
  99. [2] = { -- Grade
  100. ["police"] = "Investigation Car 1",
  101. ["police2"] = "Investigation Car 2",
  102. },
  103. [3] = { -- Grade
  104. ["police"] = "Investigation Car 1",
  105. ["police2"] = "Investigation Car 2",
  106. },
  107. [4] = { -- Grade
  108. ["police"] = "Investigation Car 1",
  109. ["police2"] = "Investigation Car 2",
  110. }
  111. }
  112.  
  113. --------------------------
  114. -- Car automatic items spawn on glovebox
  115. --------------------------
  116. Config.CarItems = {
  117. [1] = { name = "heavyarmor", amount = 2, info = {}, type = "item", slot = 1, },
  118. [2] = { name = "empty_evidence_bag", amount = 10, info = {}, type = "item", slot = 2, },
  119. }
  120.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement