Guest User

DarkRP Bank Robbery System 2 - Default Config

a guest
Mar 22nd, 2016
1,171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.59 KB | None | 0 0
  1. -- General config options.
  2. BANK_CUSTOM_MoneyTimer = 60 -- This is the time that defines when money is added to the bank. In seconds! [Default = 60]
  3. BANK_CUSTOM_MoneyOnTime = 500 -- This is the amount of money to be added to the bank every x minutes/seconds. Defined by the setting above. [Default = 500]
  4. BANK_Custom_Max = 30000 -- The maximum the bank can have. Set to 0 for no limit. [Default = 30000]
  5. BANK_Custom_AliveTime = 5 -- The amount of MINUTES the player must stay alive before he will receive what the bank has. IN MINUTES! [Default = 5]
  6. BANK_Custom_CooldownTime = 20 -- The amount of MINUTES the bank is on a cooldown after a robbery! (Doesn't matter if the robbery failed or not) [Default = 20]
  7. BANK_Custom_RobberyDistance = 500 -- The amount of space the player can move away from the bank entity, before the bank robbery fails. [Default = 500]
  8. BANK_Custom_PlayerLimit = 5 -- The amount of players there must be on the server before you can rob the bank. [Default = 5]
  9. BANK_Custom_KillReward = 1000 -- The amount of money a person is rewarded for killing the bank robber. [Default = 1000]
  10. BANK_Custom_PoliceRequired = 3 -- The amount of police officers there must be before a person can rob the bank. [Default = 3]
  11. BANK_Custom_DropMoneyOnSucces = false -- Should money drop from the bank when a robbery is succesful? true/false option. [Default = false]
  12. BANK_Custom_RobbersCanJoin = 120 -- Amount of seconds before robbers are no longer able to join a robbery after it has first been started. [Default = 120 (2 minutes)]
  13.  
  14. BANK_Custom_EmitSoundOnRob = true -- Should an alarm go off when the bank vault gets robbed. [Default = true]
  15. BANK_Custom_TheSound = "ambient/alarms/alarm_citizen_loop1.wav" -- The sound to be played. [Default = ambient/alarms/alarm1.wav - default gmod sound]
  16. BANK_Custom_SoundLevel = 75 -- The sound level. Ranges from 20 to 180. 180 is super loud. [Default = 75]
  17. BANK_Custom_SoundDuration = 20 -- Amount of seconds the sound should play for. [Default = 20]
  18.  
  19. BANK_Custom_UseRequiredModels = false -- Should the robber be a specific model to be able to rob the bank? Uses the models from the table below. [Default = false]
  20.  
  21. BANK_RequiredModels = { -- These are the models required to rob the bank. These only come in use if the option above (BANK_Custom_UseRequiredModels) is enabled.  
  22.     "models/player/Group01/Male_01.mdl",
  23.     "models/player/Group01/Male_02.mdl",
  24.     "models/player/Group01/Male_03.mdl",
  25.     "models/player/Group01/Male_04.mdl",
  26.     "models/player/Group01/Male_05.mdl",
  27.     "models/player/Group01/Male_06.mdl",
  28.     "models/player/Group01/Male_07.mdl",
  29.     "models/player/Group01/Male_08.mdl",
  30.     "models/player/Group01/Male_09.mdl" -- THE LAST LINE SHOULD NOT HAVE A COMMA AT THE END. BE AWARE OF THIS WHEN EDITING THIS!
  31. }
  32.  
  33. BANK_RequiredTeams = { -- These are the names of the jobs that counts with the option above, the police required. The amount of players on these teams are calcuated together in the count.
  34.     "Civil Protection",
  35.     "Civil Protection Chief" -- THE LAST LINE SHOULD NOT HAVE A COMMA AT THE END. BE AWARE OF THIS WHEN EDITING THIS!
  36. }
  37.  
  38. BANK_GovernmentTeams = { -- These are the teams that will receive a notify when a player is trying to rob a bank. Use the actual team name, as shown below.
  39.     "Civil Protection",
  40.     "Civil Protection Chief",
  41.     "Mayor" -- THE LAST LINE SHOULD NOT HAVE A COMMA AT THE END. BE AWARE OF THIS WHEN EDITING THIS!
  42. }
  43.  
  44. BANK_AllowedTeams = { -- These are the teams that are allowed to rob the bank.
  45.     "Citizen",
  46.     "Gangster",
  47.     "Mob boss",
  48.     "Gun Dealer",
  49.     "Medic",
  50.     "Hobo" -- THE LAST LINE SHOULD NOT HAVE A COMMA AT THE END. BE AWARE OF THIS WHEN EDITING THIS!
  51. }
Add Comment
Please, Sign In to add comment