Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------------------------------------------
- --- Team configuration settings ---
- -----------------------------------------------
- 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.)
- --- Edit configuration file below. ---
- -- 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.
- -- If you don't want to add crew members, just do it like this: "[TEAM_MOB] = {}".
- -- 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!
- -- Tip: Don't forget to seperate multiple entries with commas in all tables, I won't help you with that!
- raid.config.Leaders = {
- [TEAM_Gangsterboss] = { -- Leader team
- TEAM_Gangster, -- Crew member(s)
- [TEAM_Rebellenboss] = { -- Leader team
- TEAM_Rebell, -- Crew member(s)
- [TEAM_CatwellKartelBoss] = { -- Leader team
- TEAM_CatwellKartelMafiosi, -- Crew member(s)
- },
- }
- -- Here you can add teams which shouldn't be able to start a raid.
- -- If raid.config.EnableRaidsForEveryone is set to true I would suggest editing this table, else just leave it as it is.
- raid.config.DisabledTeams = {
- TEAM_Einwohner, -- Example team
- TEAM_Arzt, -- Example team
- TEAM_Koch, -- Example team
- TEAM_Gärnter, -- Example team
- TEAM_Ölraffinierst, -- Example team
- TEAM_Bergarbeiter, -- Example team
- TEAM_Taxifahrer, -- Example team
- TEAM_Mechaniker, -- Example team
- TEAM_Bankangestelter, -- Example team
- TEAM_Sicherheitsdienst, -- Example team
- TEAM_Polizist, -- Example team
- TEAM_Polizeichef, -- Example team
- TEAM_Gefängniswärter, -- Example team
- TEAM_Zoll, -- Example team
- TEAM_Bürgermeister, -- Example team
- TEAM_SEKMitglied, -- Example team
- TEAM_SEKScharfschütze, -- Example team
- TEAM_SEKEinheitsleiter, -- Example team
- TEAM_Waffenhändler, -- Example team
- TEAM_Schwarzmarkthändler, -- Example team
- TEAM_Drogenhändler, -- Example team
- TEAM_Dieb, -- Example team
- TEAM_Auftragsmörder, -- Example team
- TEAM_Strassenmusiker, -- Example team
- TEAM_Dönverkäufer, -- Example team
- TEAM_Meisterdieb, -- Example team
- TEAM_Vapehändler, -- Example team
- TEAM_Terrorist, -- Example team
- TEAM_SecretService, -- Example team
- }
- -- Here you can add door groups, making them able to be raided. (Empty the table to disable this feature completely)
- raid.config.DoorGroups = {
- ["Polizeiwache"] = { -- The doorgroup's name.
- name = "Polizeiwache", -- The translated name of the doorgroup.
- raidlength = 1800, -- Override the default (raid.config.SamePlayerCooldown) raid cooldown. (Optional)
- disallow = { -- Disallow specific jobs to raid this doorgroup. (Optional)
- TEAM_Waffenhändler, -- Example team
- },
- },
- }
- -- DON'T TOUCH ANYTHING BELOW THIS LINE!!!
- -- DON'T TOUCH ANYTHING BELOW THIS LINE!!!
- -- DON'T TOUCH ANYTHING BELOW THIS LINE!!!
- raid.OptimizeTables() -- Don't touch this!
- print("[RAID] Team configuration file is okay so far.")
- print("[RAID] If something in the team config file was changed, restart the map to make sure, everything works as expected!")
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement