Advertisement
Guest User

Untitled

a guest
Mar 24th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.43 KB | None | 0 0
  1. -----------------------------------------------
  2. --- Team configuration settings ---
  3. -----------------------------------------------
  4.  
  5. timer.Simple(0.01, function() -- Don't remove this timer! (If a team is recognised as invalid team, but it exists in DarkRP, higher the timer delay to make sure, it is getting loaded properly.)
  6.  
  7. --- Edit configuration file below. ---
  8.  
  9. -- Here you can add leaders and crew members. You can add as much leaders and members as you wish, but due to performance related issues for each team, there can only be one leader.
  10. -- If you don't want to add crew members, just do it like this: "[TEAM_MOB] = {}".
  11. -- If a key (leader team-name) is invalid (raid.config.Leaders-table), it should always error and say, "table index is nil". If this happens, fix it yourself and don't go on and open a support ticket!
  12.  
  13. -- Tip: Don't forget to seperate multiple entries with commas in all tables, I won't help you with that!
  14.  
  15. raid.config.Leaders = {
  16. [TEAM_Gangsterboss] = { -- Leader team
  17. TEAM_Gangster, -- Crew member(s)
  18. [TEAM_Rebellenboss] = { -- Leader team
  19. TEAM_Rebell, -- Crew member(s)
  20. [TEAM_CatwellKartelBoss] = { -- Leader team
  21. TEAM_CatwellKartelMafiosi, -- Crew member(s)
  22. },
  23. }
  24.  
  25. -- Here you can add teams which shouldn't be able to start a raid.
  26. -- If raid.config.EnableRaidsForEveryone is set to true I would suggest editing this table, else just leave it as it is.
  27.  
  28. raid.config.DisabledTeams = {
  29. TEAM_Einwohner, -- Example team
  30. TEAM_Arzt, -- Example team
  31. TEAM_Koch, -- Example team
  32. TEAM_Gärnter, -- Example team
  33. TEAM_Ölraffinierst, -- Example team
  34. TEAM_Bergarbeiter, -- Example team
  35. TEAM_Taxifahrer, -- Example team
  36. TEAM_Mechaniker, -- Example team
  37. TEAM_Bankangestelter, -- Example team
  38. TEAM_Sicherheitsdienst, -- Example team
  39. TEAM_Polizist, -- Example team
  40. TEAM_Polizeichef, -- Example team
  41. TEAM_Gefängniswärter, -- Example team
  42. TEAM_Zoll, -- Example team
  43. TEAM_Bürgermeister, -- Example team
  44. TEAM_SEKMitglied, -- Example team
  45. TEAM_SEKScharfschütze, -- Example team
  46. TEAM_SEKEinheitsleiter, -- Example team
  47. TEAM_Waffenhändler, -- Example team
  48. TEAM_Schwarzmarkthändler, -- Example team
  49. TEAM_Drogenhändler, -- Example team
  50. TEAM_Dieb, -- Example team
  51. TEAM_Auftragsmörder, -- Example team
  52. TEAM_Strassenmusiker, -- Example team
  53. TEAM_Dönverkäufer, -- Example team
  54. TEAM_Meisterdieb, -- Example team
  55. TEAM_Vapehändler, -- Example team
  56. TEAM_Terrorist, -- Example team
  57. TEAM_SecretService, -- Example team
  58. }
  59.  
  60. -- Here you can add door groups, making them able to be raided. (Empty the table to disable this feature completely)
  61.  
  62. raid.config.DoorGroups = {
  63. ["Polizeiwache"] = { -- The doorgroup's name.
  64. name = "Polizeiwache", -- The translated name of the doorgroup.
  65. raidlength = 1800, -- Override the default (raid.config.SamePlayerCooldown) raid cooldown. (Optional)
  66. disallow = { -- Disallow specific jobs to raid this doorgroup. (Optional)
  67. TEAM_Waffenhändler, -- Example team
  68. },
  69. },
  70. }
  71.  
  72.  
  73. -- DON'T TOUCH ANYTHING BELOW THIS LINE!!!
  74. -- DON'T TOUCH ANYTHING BELOW THIS LINE!!!
  75. -- DON'T TOUCH ANYTHING BELOW THIS LINE!!!
  76.  
  77. raid.OptimizeTables() -- Don't touch this!
  78.  
  79. print("[RAID] Team configuration file is okay so far.")
  80. print("[RAID] If something in the team config file was changed, restart the map to make sure, everything works as expected!")
  81. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement