Advertisement
TheDenVxUA

Untitled

Aug 8th, 2019
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 10.52 KB | None | 0 0
  1. local CONFIG = UBS_GLOBAL.Cfg
  2.  
  3. --|     ULTIMATE BRINKS SYSTEM : CONFIG      |--
  4. ------------------------------------------------
  5.  
  6. CONFIG.Lang = "en"                                          -- [Script language] Available : en / fr / es / ge
  7. CONFIG.DLMethod = 3                                         -- [Download method] (1) Direct DL - (2) Workshop - (3) Both
  8. CONFIG.DonatorRanks = {                                     -- Donator ranks (optionnal)
  9.     ["superadmin"] = true,
  10.     ["donator"] = true,
  11.     ["vip"] = true
  12. }
  13.  
  14. CONFIG.ConveyorMdl = "models/gman_high.mdl"                 -- [Boss NPC] Money conveyor NPC model
  15. CONFIG.VehicleSpawnPoints = {                               -- [Vehicle spawn pos] Spawn points for Brinks trucks (vector, angle)
  16.     { Vector(12132, -777, 165), Angle(0, -180, 0) },
  17.     { Vector(12149, -618, 169), Angle(0, -180, 0) },
  18.     { Vector(11629, -409, 167), Angle(0, 0, 0) },
  19. }
  20.  
  21. --| Teams
  22. CONFIG.ConveyorTeams = {                                    -- Teams that can accept new Brinks missions
  23.     [TEAM_GUARD] = true,
  24. }
  25. CONFIG.CopsTeams = {                                        -- Teams that will be able to return stolen money to the safe
  26.     [TEAM_POLICE] = true,
  27.     [TEAM_DETECTIVE] = true,
  28.     [TEAM_MARSHAL] = true,
  29.     [TEAM_RPOLICE] = true,
  30.     [TEAM_CHIEF] = true,
  31.     [TEAM_MAYOR] = true,
  32.     [TEAM_SWAT] = true,
  33.     [TEAM_FBI] = true,
  34.     [TEAM_SPECTEAM] = true,
  35.     [TEAM_SOLDAT] = true,
  36.     [TEAM_MEDSOLDAT] = true,
  37.     [TEAM_SNIPSOLDAT] = true,
  38.     [TEAM_KAPSOLDAT] = true,
  39.     [TEAM_GENSOLDAT] = true,
  40.     [TEAM_USSS] = true,
  41.     [TEAM_911] = true,
  42. }
  43. CONFIG.RaiderTeams = {                                      -- Teams that can rob Brinks trucks, safeboxes and briefcases [Leave empty to allow everyone]
  44.     [TEAM_MOB] = true,
  45.     [TEAM_GANG] = true,
  46.     [TEAM_TERRORIST] = true,
  47.     [TEAM_TERRORISTM] = true,
  48.     [TEAM_MAF] = true,
  49.     [TEAM_MAFGL] = true,
  50.     [TEAM_THEIF] = true,
  51.     [TEAM_BALLAS] = true,
  52.     [TEAM_GROOVE] = true,
  53. }
  54.  
  55. --| Rewards
  56. CONFIG.MissionReward = 8                                    -- [Mission %] Percentage of the transfer given to conveyors after a successful mission (5 = 5%)
  57. CONFIG.DonatorReward = 10                                   -- [Donator %] Percentage of the transfer given to donators conveyors after a successful mission (5 = 5%)
  58. CONFIG.CopsReward = 4                                       -- [Police %] Percentage of the transfer given to the cop who return it after a raid
  59.  
  60. --| Cooldowns
  61. CONFIG.FailCooldown = 120                                   -- Cooldown to accept a new mission after a fail (0 = no cooldown)
  62. CONFIG.SuccessCooldown = 45                                 -- Cooldown to accept a new mission after a success (0 = no cooldown)
  63. CONFIG.TransferTime = 1800                                  -- For how long can a briefcase be robbed after being put in a safebox in seconds
  64. CONFIG.VehicleSpawnCooldown = 15                            -- Cooldown between 2 vehicle spawns in seconds
  65.  
  66. --| Robbery
  67. CONFIG.RaidKey = KEY_F                                 -- [Raid key] Button to start a raids (truck/safes) and return cases as cop
  68. CONFIG.RaidDelay = 10                                       -- [Raid (truck) timer] Time to rob a briefcase in a truck (in seconds)
  69. CONFIG.SafeRaidDelay = 20                                   -- [Raid (safe) timer] Time to open the a safe door (in seconds)
  70. CONFIG.CopsReturnDelay = 5                                  -- [Cops (return) timer] Time needed for a cop to return a robbed case (in seconds)
  71.  
  72. CONFIG.MakePlayerWanted = true                              -- [Raid search warrant] If true the player who started the raid will be wanted
  73. CONFIG.CaseLockDurability = 120                              -- [Briefcase HP] How much damage a briefcase has to undergo to open
  74. CONFIG.AlarmDurability = 100                                 -- [Alarm HP] How much damage an alarm has to undergo to break
  75. CONFIG.AlarmRingDuration = 60                               -- [Alarm duration] How long the alarms ring after a robbery (in seconds)
  76. CONFIG.AlarmRepairTime = 120                                -- [Alarm repair time] For how long a broken alarm will stay inactive before being repaired (in seconds)
  77. CONFIG.RaidDistance = 3000                                  -- [Raid distance] Minimum distance (from the bank) at which a briefcase can be opened after a safe robbery [0 to disable]
  78. CONFIG.RaidMinimumCops = 1                                  -- [Raid min. cops] Minimum amount of cops needed to start a bank raid
  79.  
  80. --| Raid weapons
  81. CONFIG.SafeRaidWeapons = {                  //Weapons which can be used to mug civs. Add your own below the last one.
  82.     "weapon_ak472",
  83.     "weapon_mp52",
  84.     "weapon_p2282",
  85.     "weapon_pumpshotgun2",
  86.     "weapon_deagle2",
  87.     "weapon_glock2",
  88.     "weapon_m42",
  89.     "weapon_mac102",
  90.     "weapon_fiveseven2",
  91.     "ls_sniper",
  92.     "trhg18",
  93.     "trhg18s",
  94.     "m9k_winchester73",
  95.     "m9k_ak74",
  96.     "m9k_amd65",
  97.     "m9k_an94",
  98.     "m9k_val",
  99.     "m9k_f2000",
  100.     "m9k_famas",
  101.     "m9k_fal",
  102.     "m9k_m416",
  103.     "m9k_g3a3",
  104.     "m9k_l85",
  105.     "m9k_m14sp",
  106.     "m9k_m16a4_acog",
  107.     "m9k_vikhr",
  108.     "m9k_auga3",
  109.     "m9k_tar21",
  110.     "m9k_ares_shrike",
  111.     "m9k_fg42",
  112.     "m9k_m1918bar",
  113.     "m9k_m249lmg",
  114.     "m9k_m60",
  115.     "m9k_pkm",
  116.     "m9k_colt1911",
  117.     "m9k_usp",
  118.     "m9k_hk45",
  119.     "m9k_m29satan",
  120.     "m9k_luger",
  121.     "m9k_ragingbull",
  122.     "m9k_scoped_taurus",
  123.     "m9k_remington1858",
  124.     "m9k_model3russian",
  125.     "m9k_model500",
  126.     "m9k_model627",
  127.     "m9k_browningauto5",
  128.     "m9k_dbarrel",
  129.     "m9k_ithacam37",
  130.     "m9k_mossberg590",
  131.     "m9k_jackhammer",
  132.     "m9k_remington870",
  133.     "m9k_striker12",
  134.     "m9k_usas",
  135.     "m9k_1897winchester",
  136.     "m9k_1887winchester"
  137. }     -- Weapons that can be used to open a safebox door [Leave empty to allow all weapons]
  138. CONFIG.TruckRaidWeapons = {                 //Weapons which can be used to mug civs. Add your own below the last one.
  139.     "weapon_ak472",
  140.     "weapon_mp52",
  141.     "weapon_p2282",
  142.     "weapon_pumpshotgun2",
  143.     "weapon_deagle2",
  144.     "weapon_glock2",
  145.     "weapon_m42",
  146.     "weapon_mac102",
  147.     "weapon_fiveseven2",
  148.     "ls_sniper",
  149.     "trhg18",
  150.     "trhg18s",
  151.     "m9k_winchester73",
  152.     "m9k_ak74",
  153.     "m9k_amd65",
  154.     "m9k_an94",
  155.     "m9k_val",
  156.     "m9k_f2000",
  157.     "m9k_famas",
  158.     "m9k_fal",
  159.     "m9k_m416",
  160.     "m9k_g3a3",
  161.     "m9k_l85",
  162.     "m9k_m14sp",
  163.     "m9k_m16a4_acog",
  164.     "m9k_vikhr",
  165.     "m9k_auga3",
  166.     "m9k_tar21",
  167.     "m9k_ares_shrike",
  168.     "m9k_fg42",
  169.     "m9k_m1918bar",
  170.     "m9k_m249lmg",
  171.     "m9k_m60",
  172.     "m9k_pkm",
  173.     "m9k_colt1911",
  174.     "m9k_usp",
  175.     "m9k_hk45",
  176.     "m9k_m29satan",
  177.     "m9k_luger",
  178.     "m9k_ragingbull",
  179.     "m9k_scoped_taurus",
  180.     "m9k_remington1858",
  181.     "m9k_model3russian",
  182.     "m9k_model500",
  183.     "m9k_model627",
  184.     "m9k_browningauto5",
  185.     "m9k_dbarrel",
  186.     "m9k_ithacam37",
  187.     "m9k_mossberg590",
  188.     "m9k_jackhammer",
  189.     "m9k_remington870",
  190.     "m9k_striker12",
  191.     "m9k_usas",
  192.     "m9k_1897winchester",
  193.     "m9k_1887winchester"
  194.  
  195. }   -- Weapons that can be used to steal a briefcase in a Brinks truck [Leave empty to allow all weapons]
  196.  
  197. --| Business managers
  198. UBS_GLOBAL:AddNPC({
  199.     name = "Гертруда Фон-Гитлер",                                      -- NPC name (must be unique)
  200.     model = "models/mossman.mdl"                            -- NPC model
  201. })
  202. UBS_GLOBAL:AddNPC({
  203.     name = "Дональд",
  204.     model = "models/Humans/Group01/Male_04.mdl"
  205. })
  206. UBS_GLOBAL:AddNPC({
  207.     name = "Майк-Ти",
  208.     model = "models/Humans/Group02/male_03.mdl"
  209. })
  210. UBS_GLOBAL:AddNPC({
  211.     name = "Аманда",
  212.     model = "models/Humans/Group01/Female_07.mdl"
  213. })
  214. UBS_GLOBAL:AddNPC({
  215.     name = "Том Харрис",
  216.     model = "models/Humans/Group01/male_02.mdl"
  217. })
  218. UBS_GLOBAL:AddNPC({
  219.     name = "Синтия",
  220.     model = "models/Humans/Group01/Female_01.mdl"
  221. })
  222.  
  223. --| Transfer missions
  224. UBS_GLOBAL:AddMission({
  225.     name = "Магазин оружия",                                -- Mission name
  226.     transfer = 12000,                                        -- Transfer amount
  227.     time = 70,                                             -- Delay
  228.     pos = Vector(4749.373047, 7098.512207, 128.031250),                 -- NPC spawn position
  229.     ang = Angle(0, 0, 0)                                    -- NPC spawn angle
  230. })
  231. --| Transfer missions
  232. UBS_GLOBAL:AddMission({
  233.     name = "Заправка за городом",                                -- Mission name
  234.     transfer = 16000,                                        -- Transfer amount
  235.     time = 60,                                             -- Delay
  236.     pos = Vector(11098.441406, 13451.300781, 130.031250),                 -- NPC spawn position
  237.     ang = Angle(0, 0, 0)                                    -- NPC spawn angle
  238. })
  239. --| Transfer missions
  240. UBS_GLOBAL:AddMission({
  241.     name = "Автосалон",                                -- Mission name
  242.     transfer = 56000,                                        -- Transfer amount
  243.     time = 140,                                             -- Delay
  244.     pos = Vector(3697.373779, -4070.237305, 128.031250),                 -- NPC spawn position
  245.     ang = Angle(0, 0, 0)                                    -- NPC spawn angle
  246. })
  247. --| Transfer missions
  248. UBS_GLOBAL:AddMission({
  249.     name = "Кинотеатр",                                -- Mission name
  250.     transfer = 9000,                                        -- Transfer amount
  251.     time = 90,                                             -- Delay
  252.     pos = Vector(5656.033691, -7632.705566, 128.031250),                 -- NPC spawn position
  253.     ang = Angle(0, 0, 0)                                    -- NPC spawn angle
  254. })
  255. --| Transfer missions
  256. UBS_GLOBAL:AddMission({
  257.     name = "Ночной Клуб",                                -- Mission name
  258.     transfer = 16000,                                        -- Transfer amount
  259.     time = 60,                                             -- Delay
  260.     pos = Vector(-10856.968750, 5947.891602, 169.031250),                 -- NPC spawn position
  261.     ang = Angle(0, 0, 0)                                    -- NPC spawn angle
  262. })
  263. --| Transfer missions
  264. UBS_GLOBAL:AddMission({
  265.     name = "Казино",                                -- Mission name
  266.     transfer = 160000,                                        -- Transfer amount
  267.     time = 190,                                             -- Delay
  268.     pos = Vector(11273.462891, -4109.859375, 136.031250),                 -- NPC spawn position
  269.     ang = Angle(0, -70, 0)                                    -- NPC spawn angle
  270. })
  271.  
  272.  
  273. --| Colors
  274. if !CLIENT then return end
  275.  
  276. CONFIG.Colors = {
  277.     [1] = Color(246, 250, 251),
  278.     [2] = Color(20, 22, 24),
  279.     [3] = Color(188, 200, 200),
  280.     [4] = Color(40, 44, 48, 210),
  281.     [5] = Color(52, 152, 219),
  282.     [6] = Color(243, 156, 18),
  283.     [7] = Color(46, 204, 113)
  284. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement