Guest User

Debux FUEL V3

a guest
Dec 22nd, 2024
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. Debux = {}
  2.  
  3. Debux.Framework = "auto" -- Determines which framework to use: auto, esx, or qb
  4. Debux.Distance = 4.0 -- indicates how close you are to the pump
  5. Debux.Language = "en" -- en, de, fr, sp
  6. Debux.FuelUse = 0.4 -- this is how many liters of gasoline the vehicle will use every 10 seconds.
  7.  
  8. Debux.Locales = {
  9. ["en"] = {
  10. no_money = "You have no money.",
  11. success = "You successfully bought fuel.",
  12. open = "Open Fuel System",
  13. full = "Gasoline Depous is already full",
  14. },
  15. ["de"] = {
  16. no_money = "Du hast kein Geld.",
  17. success = "Du hast erfolgreich Treibstoff gekauft.",
  18. open = "Kraftstoffsystem öffnen",
  19. full = "Benzindepous ist bereits voll",
  20. },
  21. ["fr"] = {
  22. no_money = "Vous n'avez pas d'argent.",
  23. success = "Vous avez acheté du carburant avec succès.",
  24. open = "Ouvrir le système de carburant",
  25. full = "Le dépôt d'essence est déjà plein",
  26. },
  27. ["sp"] = {
  28. no_money = "No tienes dinero.",
  29. success = "Has comprado combustible con éxito.",
  30. open = "Abrir sistema de combustible",
  31. full = "Petrol Depous ya está lleno",
  32. }
  33. }
  34.  
  35. Debux.Pumpmodels = {
  36. "prop_gas_pump_old2",
  37. "prop_gas_pump_old3",
  38. "prop_gas_pump_1a",
  39. "prop_gas_pump_1b",
  40. "prop_gas_pump_1c",
  41. "prop_gas_pump_1d"
  42. }
  43.  
  44. Debux.Price = {
  45. ["regular"] = 10,
  46. ["doped"] = 30,
  47. ["super"] = 50,
  48. ["max"] = 80
  49. }
  50.  
  51. Debux.Category = {
  52. [0] = "regular",
  53. [1] = "regular",
  54. [2] = "regular",
  55. [3] = "regular",
  56. [4] = "doped",
  57. [5] = "regular",
  58. [6] = "super",
  59. [7] = "max",
  60. [8] = "regular",
  61. [9] = "regular",
  62. [10] = "regular",
  63. [11] = "regular",
  64. [12] = "regular",
  65. [13] = "regular",
  66. [14] = "regular",
  67. [15] = "regular",
  68. [16] = "regular",
  69. [17] = "regular",
  70. [18] = "regular",
  71. ["electro"] = "electro"
  72. }
  73.  
  74. Debux.electricCars = {
  75. "TEZERACT",
  76. "neon"
  77. }
  78.  
  79. function getFramework()
  80. if Debux.Framework == "esx" then
  81. return exports['es_extended']:getSharedObject(), "esx"
  82. elseif Debux.Framework == "qb" then
  83. return exports["qb-core"]:GetCoreObject(), "qb"
  84. elseif Debux.Framework == "auto" then
  85. if GetResourceState('qb-core') == 'started' then
  86. return exports["qb-core"]:GetCoreObject(), "qb"
  87. elseif GetResourceState('es_extended') == 'started' then
  88. return exports['es_extended']:getSharedObject(), "esx"
  89. end
  90. end
  91. end
  92.  
Advertisement
Add Comment
Please, Sign In to add comment