Advertisement
Guest User

DR - Simple Dismantling | Configuration

a guest
May 8th, 2020
498
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. DR_DEMENT_CFG = DR_DEMENT_CFG or {}
  2.  
  3. DR_DEMENT_CFG.Price = 350 -- Dismantling costs
  4.  
  5. DR_DEMENT_CFG.Job = { -- Garage job (darkrp_modules/sr_dismantling_module/sh_dismantling_dr.lua)
  6. ["Garagist"] = true,
  7. }
  8.  
  9. DR_DEMENT_CFG.AdminGroup = { -- Admin group that can use the tool
  10. ["superadmin"] = true,
  11. }
  12.  
  13. DR_DEMENT_CFG.ChatMSG = true -- If set to TRUE, the player will receive a message in the chat instead of a notification (if you are not in the DarkRP gamemode, do not touch) else, the player will receive a notification..
  14.  
  15. DR_DEMENT_CFG.MinMoney = 350 -- Minimum profit ( necessary only if : DR_DEMENT_CFG.SpawnMoney = true )
  16.  
  17. DR_DEMENT_CFG.MaxMoney = 670 -- Maximum profit ( necessary only if : DR_DEMENT_CFG.SpawnMoney = true )
  18.  
  19. DR_DEMENT_CFG.SpawnMoney = true -- If set to TRUE, after the dismantling will appear directly the money
  20.  
  21. DR_DEMENT_CFG.DemantTime = 10 -- Dismantling time (in seconds) (default : 10)
  22.  
  23. DR_DEMENT_CFG.CompatibilityVcMod = false -- Compatibility VcMod (MAIN) : If you have VcMod addon, set this to true
  24.  
  25. DR_DEMENT_CFG.RepairSimfphys = false -- Compatibility Simfphys : If set to TRUE, the vehicle part can repair simfphys vehicle's
  26.  
  27. DR_DEMENT_CFG.NotifyOwner = true -- If set to TRUE, the vehicle owner receive a notify if her vehicle is dismantled
  28.  
  29. DR_DEMENT_CFG.SpawnModel = "models/props_vehicles/car002a_physics.mdl" -- Model of the vehicle body
  30.  
  31. DR_DEMENT_CFG.Lang = "en" -- Addon language
  32.  
  33. -- "en" = English
  34. -- "fr" = French
  35. -- "es" = Spanish
  36. -- "de" = German
  37. -- "ru" = Russian
  38.  
  39. ------------------------------------------------------------------------------------------------------------
  40. -- You can change the resale price of parts for particular vehicles (optional)
  41.  
  42. DR_DEMENT_CFG.VehicleSell = {}
  43.  
  44. DR_DEMENT_CFG.VehicleSell["Jeep"] = { -- Vehicle class
  45. PriceMin = 1000, -- Minimum price
  46. PriceMax = 5000, -- Maximum price
  47. }
  48.  
  49. ------------------------------------------------------------------------------------------------------------
  50. -- Blacklist, follow the example : ["MODEL OF VEHICLE"] = true :
  51.  
  52. DR_DEMENT_CFG.Blacklist = {
  53. ["models/airboat.mdl"] = true,
  54. ["models/buggy.mdl"] = true,
  55. }
  56.  
  57. ------------------------------------------------------------------------------------------------------------
  58. -- Vehicle parts ( necessary only if : DR_DEMENT_CFG.SpawnMoney = false ) : Don't touch :
  59.  
  60. DR_DEMENT_CFG.Entity = {}
  61.  
  62. DR_DEMENT_CFG.Entity[1] = { -- Don't touch
  63. Model = "models/props_vehicles/carparts_tire01a.mdl",
  64. PriceMax = 200,
  65. PriceMin = 100,
  66. }
  67.  
  68. DR_DEMENT_CFG.Entity[2] = { -- Don't touch
  69. Model = "models/gibs/airboat_broken_engine.mdl",
  70. PriceMax = 500,
  71. PriceMin = 180,
  72. }
  73.  
  74. DR_DEMENT_CFG.Entity[3] = { -- Don't touch
  75. Model = "models/props_vehicles/carparts_muffler01a.mdl",
  76. PriceMax = 300,
  77. PriceMin = 80,
  78. }
  79.  
  80. DR_DEMENT_CFG.Entity[4] = { -- Don't touch
  81. Model = "models/props_vehicles/carparts_door01a.mdl",
  82. PriceMax = 90,
  83. PriceMin = 20,
  84. }
  85.  
  86. DR_DEMENT_CFG.Entity[5] = { -- Don't touch
  87. Model = "models/props_junk/gascan001a.mdl",
  88. PriceMax = 50,
  89. PriceMin = 100,
  90. }
  91.  
  92. ------------------------------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement