Advertisement
Guest User

Untitled

a guest
Feb 14th, 2022
739
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.86 KB | None | 0 0
  1. Config = {}
  2. Config.DrawDistance = 25.0
  3. Config.MarkerColor = { r = 0, g = 71, b = 153 }
  4.  
  5. Config.Locale = 'en'
  6.  
  7. Config.Framework = 'esx' ---[ 'esx' / 'qbcore_old' / 'qbcore_new' / 'other' ] Choose your framework
  8.  
  9. Config.FrameworkTriggers = { --Choose your Framework triggers (Only if needed!).
  10. main = 'esx:getSharedObject', --ESX = 'esx:getSharedObject' QBUS = 'QBCore:GetObject'
  11. load = 'esx:playerLoaded', --ESX = 'esx:playerLoaded' QBUS = 'QBCore:Client:OnPlayerLoaded'
  12. job = 'esx:setJob', --ESX = 'esx:setJob' QBUS = 'QBCore:Client:OnJobUpdate'
  13. resource_name = 'es_extended' --ESX = 'es_extended' QBCORE = 'qb-core'
  14. }
  15.  
  16. Config.NotificationType = { --[ 'esx' / 'qbus' / 'mythic_old' / 'mythic_new' / 'chat' / 'other' ] Choose the notification system you use (Other available in client/Functions.lua)
  17. client = "qbus"
  18. }
  19.  
  20. Config.MYSQLUsage = "mysql-async" --[ 'mysql-async' / 'ghamttimysql_new' / 'ghamttimysql_old' / 'oxmysql' ] Choose your MySQL version
  21.  
  22. Config.UseJobGrades = true -- [ 'false' / 'true' ] -- if true then the vehicles will be locked to job grade (you will need to update the database add grade collum if you don't have it)
  23.  
  24. Config.Jobs = { -- All the jobs and the logo
  25. ["police"] = { -- job
  26. imglink = "https://seeklogo.com/images/L/Liberty_City_Police-logo-5EB5D66FEC-seeklogo.com.png", -- Your image link for the logo
  27. buttoncolor = "black", -- Color of the main take out button
  28. textbuttoncolor = "white" -- Color of the tekst inside of the button
  29. },
  30. ["mechanic"] = {
  31. imglink = "https://i.pinimg.com/736x/10/80/eb/1080ebb77ccb373208950caab98cce7d.jpg",
  32. buttoncolor = "#ffcd00",
  33. textbuttoncolor = "#2E2E2E"
  34. },
  35. ["ambulance"] = {
  36. imglink = "https://i.ibb.co/WHBZYtH/1200px-Star-of-life2-svg.png",
  37. buttoncolor = "#DE0101",
  38. textbuttoncolor = "white"
  39. },
  40. ["yourjob"] = {
  41. imglink = "https://wwwspennarecom.cdn.triggerfish.cloud/uploads/2014/07/Your-Logo-Here-Black-2.jpg",
  42. buttoncolor = "#0e3b6e",
  43. textbuttoncolor = "white"
  44. },
  45. ["fire"] = {
  46. imglink = "https://upload.wikimedia.org/wikipedia/commons/thumb/2/25/Emblem_of_the_New_York_City_Fire_Department.svg/1200px-Emblem_of_the_New_York_City_Fire_Department.svg.png",
  47. buttoncolor = "#f44336",
  48. textbuttoncolor = "white"
  49. },
  50. }
  51.  
  52. Config.Zones = { -- zones
  53. -- Ambulance
  54. {
  55. Job = "ambulance", -- Job of the garage
  56. Action = "OpenGarage", -- Action that he needs to do
  57. Size = { x = 1.5, y = 1.5, z = 1.0 }, -- Size of the marker
  58. Type = 21, -- The marker type
  59. Text3D = "[~b~E~w~] Open Garage", -- text for 3dtext
  60. Pos = {-- Example of how to do multiple markers for the same job
  61. --{
  62. -- SpawnPointpos = vector4(439.93, -1021.71, 28.25, 92.44),
  63. -- coords = vector3(-1176.7405, -867.0052, 14.0222)
  64. --},
  65. {
  66. SpawnPointpos = vector4(439.93, -1021.71, 29.25, 92.44), -- The spawn point of the car
  67. coords = vector3(446.2, -1026.44, 28.65), -- The Marker it self
  68. typevehicles = "car"
  69. },
  70. },
  71. },
  72.  
  73. {
  74. Job = "ambulance",
  75. Action = "DeleteVehicle",
  76. Text3D = "[~b~E~w~] To put your vehicle away",
  77. Size = { x = 0.7, y = 0.7, z = 0.3 },
  78. Type = 2,
  79. Pos = {
  80. {
  81. coords = vector3(446.21, -1023.07, 28.57)
  82. }
  83. },
  84. },
  85. -- Politie
  86. {
  87. Job = "police",
  88. Action = "OpenGarage",
  89. Size = { x = 1.5, y = 1.5, z = 1.0 },
  90. Type = 21,
  91. Text3D = "[~b~E~w~] Open Garage",
  92. Pos = {
  93. {
  94. SpawnPointpos = vector4(439.93, -1021.71, 29.25, 92.44),
  95. coords = vector3(443.45, -1027.61, 28.72),
  96. typevehicles = "car"
  97. },
  98. {
  99. SpawnPointpos = vector4(439.93, -1021.71, 29.25, 92.44),
  100. coords = vector3(441.35, -1027.61, 28.72),
  101. typevehicles = "car"
  102. },
  103. },
  104. },
  105.  
  106. {
  107. Job = "police",
  108. Action = "DeleteVehicle",
  109. Text3D = "[~b~E~w~] To put your vehicle away",
  110. Size = { x = 0.7, y = 0.7, z = 0.3 },
  111. Type = 2,
  112. Pos = {
  113. {
  114. coords = vector3(442.33, -1025.63, 28.78)
  115. }
  116. },
  117. },
  118. -- ANWB
  119. {
  120. Job = "mechanic",
  121. Action = "OpenGarage",
  122. Size = { x = 1.5, y = 1.5, z = 1.0 },
  123. Type = 21,
  124. Text3D = "[~b~E~w~] Open Garage",
  125. Pos = {
  126. {
  127. SpawnPointpos = vector4(439.93, -1021.71, 29.25, 92.44),
  128. coords = vector3(438.65, -1027.94, 28.79),
  129. typevehicles = "car"
  130. },
  131. },
  132. },
  133.  
  134. {
  135. Job = "mechanic",
  136. Action = "DeleteVehicle",
  137. Text3D = "[~b~E~w~] To put your vehicle away",
  138. Size = { x = 0.7, y = 0.7, z = 0.3 },
  139. Type = 2,
  140. Pos = {
  141. {
  142. coords = vector3(438.68, -1024.21, 28.74)
  143. }
  144. },
  145. },
  146. -- Your custom Job
  147. {
  148. Job = "yourjob",
  149. Action = "OpenGarage",
  150. Size = { x = 1.5, y = 1.5, z = 1.0 },
  151. Type = 21,
  152. Text3D = "[~b~E~w~] Open Garage",
  153. Pos = {
  154. {
  155. SpawnPointpos = vector4(439.93, -1021.71, 29.25, 92.44),
  156. coords = vector3(434.68, -1028.14, 28.86),
  157. typevehicles = "car"
  158. },
  159. },
  160. },
  161.  
  162. {
  163. Job = "yourjob",
  164. Action = "DeleteVehicle",
  165. Text3D = "[~b~E~w~] To put your vehicle away",
  166. Size = { x = 0.7, y = 0.7, z = 0.3 },
  167. Type = 2,
  168. Pos = {
  169. {
  170. coords = vector3(434.45, -1024.43, 28.81)
  171. }
  172. },
  173. },
  174. -- Fire department
  175. {
  176. Job = "fire",
  177. Action = "OpenGarage",
  178. Size = { x = 1.5, y = 1.5, z = 1.0 },
  179. Type = 21,
  180. Text3D = "[~b~E~w~] Open Garage",
  181. Pos = {
  182. {
  183. SpawnPointpos = vector4(439.93, -1021.71, 29.25, 92.44),
  184. coords = vector3(431.16, -1028.94, 28.92),
  185. typevehicles = "car"
  186. },
  187. },
  188. },
  189.  
  190. {
  191. Job = "fire",
  192. Action = "DeleteVehicle",
  193. Text3D = "[~b~E~w~] To put your vehicle away",
  194. Size = { x = 0.7, y = 0.7, z = 0.3 },
  195. Type = 2,
  196. Pos = {
  197. {
  198. coords = vector3(430.58, -1025.01, 28.89)
  199. }
  200. },
  201. },
  202.  
  203.  
  204. }
  205.  
  206. Config.Strings = {
  207. ["caronplaceofspawnpoint"] = "Vehicle spawnpoint not available (Someone is standing there!)",
  208. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement