Advertisement
marcinhuU

m-CarRebuild

Feb 27th, 2022
1,254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.63 KB | None | 0 0
  1. Config = {}
  2.  
  3. -----------------
  4. -- Utility
  5. -----------------
  6. Config.Target = "qb-target"
  7. Config.QBMenu = "qb-menu"
  8. Config.SkillBar = "np-skillbar"
  9. Config.PhoneSendEmail = "qb-phone:server:sendNewMail"
  10. Config.TriggerInventoryItemBox = "inventory:client:ItemBox"
  11. Config.EstadoVeiculo = math.random(1,10) -- Don't touch
  12. Config.TempoEsperaParaFazerNovamente = 900000 -- 15 minutes
  13. Config.TempoParaConstruir = 900000 -- 15 minutes
  14. Config.TempoEsperaSpawnVeiculo = 10000 -- 15 minutes
  15. Config.ChanceSairMaterial = 90 -- The higher, the less chance they have of 100 in this case being 90, they only have 10% to leave.
  16. Config.CommandState = "estado" -- Command to rebuild
  17.  
  18.  
  19. Config.Carros = {
  20. [1] = {carro = "t20"}, -- Name of car
  21. [2] = {carro = "adder"}, -- Name of car
  22. [3] = {carro = "futo"}, -- Name of car
  23. --[4] = {carro = "speeder2"}, -- Name of car
  24. }
  25.  
  26. Config.SpawnCarro = {
  27. [1] = {x = 1204.30, y = -3116.05, z = 5.54, h = 358.90}, -- Location to spawn car
  28. }
  29.  
  30. -----------------
  31. -- Notifications
  32. -----------------
  33. Config["Notificacoes"] = {
  34. ["CooldownSuccess"] = "You can now build the car again.",
  35. ["TimeToConstruct"] = "You have 15 minutes to build the car.",
  36. ["TimeEnded"] = "Build time is over.",
  37. ["NaoPodes"] = "You still can't do that.",
  38. ["FormaErrada"] = "You are not doing it correctly.",
  39. ["MotorJaInstalado"] = "You already installed the engine.",
  40. ["PortaJaInstalada"] = "You already installed the doors.",
  41. ["PneuJaInstalado"] = "You already installed the tires.",
  42. ["TravagemJaInstalada"] = "You already installed the brakes.",
  43. ["SuspensaoJaInstalada"] = "You already installed the suspension.",
  44. ["VidrosJaInstalados"] = "You already installed the glasses.",
  45. ["NaoTensMotorContigo"] = "You don't have any engines with you.",
  46. ["NaoTensPortaContigo"] = "You don't have any doors with you.",
  47. ["NaoTensPneuContigo"] = "You don't have any tires with you.",
  48. ["NaoTensTravagemContigo"] = "You don't have any brakes with you.",
  49. ["NaoTensSuspensaoContigo"] = "You don't have any suspension with you.",
  50. ["NaoTensVidrosContigo"] = "You don't have any glasses with you.",
  51. ["VeiculoTeu"] = "The vehicle is now yours. Go to depot to pick up!",
  52. ["JaProcurado"] = "Already searched.",
  53. ["NadaEncontrado"] = "You didn't find anything.",
  54. ["VoltaDaqui"] = "Come back in 15 minutes.",
  55. ["Falhaste"] = "You failed."
  56. }
  57.  
  58. -----------------
  59. -- Email
  60. -----------------
  61. Config.Sender = "John"
  62. Config.Title = "Item List"
  63. Config.Message = "You will need the following items: <br> 1x Engine <br> 1x Door <br> 1x Brakes <br> 1x Suspension <br> 1x Glasses <br> 1x Tires"
  64.  
  65. -----------------
  66. -- Targets
  67. -----------------
  68. -- Start Mission
  69. Config.TargetComecarMissaoLoc = vector3(1515.59, -2137.4, 76.73)
  70. Config.TargetComecarMissao = "Order Car"
  71. Config.TargetIconComecarMissao = "fas fa-car"
  72. -- Search on sucata
  73. Config.TargetSucata = "Search"
  74. Config.TargetIconSucata = "fas fa-dumpster"
  75.  
  76. -----------------
  77. -- Menus
  78. -----------------
  79. -- After construction vehicle
  80. Config.QBMenuAfterHeader = "Built Vehicle"
  81. Config.QBMenuAfterEstado = "State"
  82. Config.QBMenuAfterEstado2 = "100%"
  83. Config.QBMenuAfterObter = "Get Vehicle"
  84. Config.QBMenuAfterFechar = "Close"
  85. -- Before construction vehicle
  86. Config.QBMenuBeforeHeader = "Vehicle Status"
  87. Config.QBMenuBeforeEstado = "State"
  88. Config.QBMenuBeforeEstado2 = "State: "
  89. Config.QBMenuBeforeNecessary = "Required Parts"
  90. Config.QBMenuBeforeItens = "1x Engine | 1x Door | 1x Brakes <br> 1x Suspension | 1x Glasses | 1x Tires"
  91. Config.QBMenuBeforeConstruction = "Build the car"
  92. Config.QBMenuBeforeFechar = "Close"
  93. -- Construction Vehicle
  94. Config.QBMenuConstructionHeader = "Build Vehicle"
  95. Config.QBMenuColocarMotor = "Put Engine"
  96. Config.QBMenuColocarPorta = "Put Doors"
  97. Config.QBMenuColocarPneu = "Put Tires"
  98. Config.QBMenuColocarTravagem = "Put Brakes"
  99. Config.QBMenuColocarSuspensao = "Put Suspension"
  100. Config.QBMenuColocarVidros = "Put Glasses"
  101. Config.QBMenuConstructionClose = "Close"
  102.  
  103. -----------------
  104. -- Progressbars
  105. -----------------
  106. Config["ProgressBars"] = {
  107. ["ColocarMotor"] = "Putting the engine...",
  108. ["ColocarPorta"] = "Putting the doors...",
  109. ["ColocarPneus"] = "Putting the tires...",
  110. ["ColocarTravagem"] = "Putting the brakes...",
  111. ["ColocarSuspensao"] = "Putting the suspension...",
  112. ["ColocarVidros"] = "Putting the glasses...",
  113. }
  114.  
  115. -----------------
  116. -- Times of Progressbars
  117. -----------------
  118. Config.TimePutMotor = 5000
  119. Config.TimePutPorta = 5000
  120. Config.TimePutPneu = 5000
  121. Config.TimePutTravagem = 5000
  122. Config.TimePutSuspensao = 5000
  123. Config.TimePutVidros = 5000
  124.  
  125. -----------------
  126. -- Animations of Progressbars
  127. -----------------
  128. Config.AnimationPutMotor1 = "mini@repair"
  129. Config.AnimationPutMotor2 = "fixing_a_player"
  130. --
  131. Config.AnimationPutPorta1 = "mini@repair"
  132. Config.AnimationPutPorta2 = "fixing_a_player"
  133. --
  134. Config.AnimationPutPneu1 = "mini@repair"
  135. Config.AnimationPutPneu2 = "fixing_a_player"
  136. --
  137. Config.AnimationPutTravagem1 = "mini@repair"
  138. Config.AnimationPutTravagem2 = "fixing_a_player"
  139. --
  140. Config.AnimationPutSuspensao1 = "mini@repair"
  141. Config.AnimationPutSuspensao2 = "fixing_a_player"
  142. --
  143. Config.AnimationPutVidros1 = "mini@repair"
  144. Config.AnimationPutVidros2 = "fixing_a_player"
  145.  
  146. -----------------
  147. -- Lixo
  148. -----------------
  149. Config.CenasDoLixo = { -- Less valuable items to drop when scavenging scrap
  150. "bottle", "can", "steal",
  151. }
  152.  
  153. Config.PecasCarro = { -- Most Valuable Items to Drop When Scavenging in Scrap
  154. "motordecarro", "portadecarro", "pneudecarro", "suspensaodecarro", "travagemdecarro", "vidrodecarro",
  155. }
  156.  
  157.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement