Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Demotion command should now properly check the MaxDemotion config
- Added bLogs support
- ]]
- JobRanksConfig = JobRanksConfig or {}
- //Who can access admin commands,menus etc
- JobRanksConfig.AdminAccessCustomCheck = function(Player) return Player:IsSuperAdmin() end
- //How often should it update and save?
- JobRanksConfig.UpdateTimer = 5
- //Players Required to be able to earns playtime through timer
- JobRanksConfig.PlayersRequired = 0
- //Should it give SALARY*Bonus instead of SALARY+Bonus?
- //NOTE: This calculates BaseSalary + (BaseSalary/100*Bonus)
- //So if you set BonusSalary to 15 it will be 15% of the original salary
- JobRanksConfig.BonusSalaryPercent = true
- //Disables progression if player is AFK
- JobRanksConfig.DisableAFKProgress = true
- //NOTE: These uses DarkRPs chatcommand system, which means it will always use / before the command so by default it would be -> /rpromote NICK REASON
- //Chatcommand to promote
- JobRanksConfig.PromotionChatCommands = {"rpromote"}
- //Chatcommand to demote
- JobRanksConfig.DemotionChatCommands = {"rdemote"}
- //Should ranks reset when you die?
- JobRanksConfig.ResetRanksOnDeath = false
- //HUD Jobranks
- JobRanksConfig.HUD = true
- //Defined 0-1000, 0 is as much left as it can and 100 is as much right as it can
- JobRanksConfig.UIW = 2.5
- //Defined 0-1000, 0 is as much up as it can and 100 is as much down as it can
- JobRanksConfig.UIH = 69
- --[[
- bar = a bar for progress
- time = text for time left
- number = numbers only
- ]]
- JobRanksConfig.HUDType = "bar"
- JobRanksConfig.UIBoxColor = Color(0,0,0,100)
- JobRanksConfig.UIOutlineColor = Color(0, 0, 0, 255)
- JobRanksConfig.UITextColor = Color(255, 255, 255, 255)
- JobRanksConfig.BarBackground = Color(0,0,0,99)
- JobRanksConfig.Bar = Color(52, 152, 219, 255)
- JobRanks = JobRanks or {}
- local function JBR_InitRanks()
- timer.Simple(3, function()
- //Add the job that should have a restrictment like the example
- --[[
- [TEAMTORESTRICT] = {
- [JOB] = RankRequirement, <---- Important to have THIS COMMA between each one
- }, <---- Important to have THIS COMMA between each one
- ]]
- JobRanksConfig.JobJoinRestrictments = {
- [TEAM_CHIEF] = {--For Chief of police
- [TEAM_POLICE] = 9,--Requires rank 8 as Police to join
- },
- [TEAM_POLICE] = {--For Chief of police
- [TEAM_RPOLICE] = 2,--Requires rank 8 as Police to join
- },
- [TEAM_RPOLICE] = {--For Chief of police
- [TEAM_911] = 2,--Requires rank 8 as Police to join
- },
- [TEAM_DETECTIVE] = {--For Chief of police
- [TEAM_POLICE] = 6,--Requires rank 8 as Police to join
- },
- [TEAM_MARSHAL] = {--For Chief of police
- [TEAM_POLICE] = 7,--Requires rank 8 as Police to join
- },
- [TEAM_FBI] = {--For Chief of police
- [TEAM_POLICE] = 9,--Requires rank 8 as Police to join
- },
- [TEAM_USSS] = {--For Chief of police
- [TEAM_FBI] = 6,--Requires rank 8 as Police to join
- },
- [TEAM_SWAT] = {--For Chief of police
- [TEAM_POLICE] = 6,--Requires rank 8 as Police to join
- },
- [TEAM_SOLDAT] = {--For Chief of police
- [TEAM_POLICE] = 1,--Requires rank 8 as Police to join
- },
- [TEAM_MEDSOLDAT] = {--For Chief of police
- [TEAM_SOLDAT] = 2,--Requires rank 8 as Police to join
- },
- [TEAM_SNIPSOLDAT] = {--For Chief of police
- [TEAM_SOLDAT] = 2,--Requires rank 8 as Police to join
- },
- [TEAM_KAPSOLDAT] = {--For Chief of police
- [TEAM_SOLDAT] = 15,--Requires rank 8 as Police to join
- },
- [TEAM_KAPSOLDAT] = {--For Chief of police
- [TEAM_GENSOLDAT] = 8,--Requires rank 8 as Police to join
- },
- }
- -------------------------------------------
- -------------TEAM_SWAT---------------------
- -------------------------------------------
- JobRanks[TEAM_SWAT] = {}
- JobRanks[TEAM_SWAT].MaxJobRank = 11
- JobRanks[TEAM_SWAT].ReqRanks = {
- [1] = 0,
- [2] = 15000, --THE VALUE MUST BE HIGHER IN EACH RANK THAN THE PREVIOUS RANK
- [3] = 30000,
- [4] = 60000,
- [5] = 120000,
- [6] = 200000,
- [7] = 300000,
- [8] = 450000,
- [9] = 500000,
- [10] = 550000,
- [11] = 600000,
- }
- JobRanks[TEAM_SWAT].NameRanks = {
- [1] = "|Офицер SWAT 1|",
- [2] = "|Офицер SWAT 2|",
- [3] = "|Офицер SWAT 3|",
- [4] = "|Сержант SWAT 1|",
- [5] = "|Сержант SWAT 2|",
- [6] = "|Лейтенант 1|",
- [7] = "|Лейтенант 2|",
- [8] = "|Лейтенант 3|",
- [9] = "|Капитан 1|",
- [10] = "|Капитан 2|",
- [11] = "|Капитан 3|",
- }
- JobRanks[TEAM_SWAT].BonusStats = { --Bonus stats for ranks -> [RankID] = {Health = AmountExtraHP, Armor = AmountExtraAP}
- [1] = {Health = 100, Armor = 100},
- [2] = {Health = 150, Armor = 150},
- [3] = {Health = 200, Armor = 200},
- [4] = {Health = 300, Armor = 300},
- [5] = {Health = 400, Armor = 400},
- [6] = {Health = 500, Armor = 500},
- [7] = {Health = 600, Armor = 600},
- [8] = {Health = 700, Armor = 700},
- [9] = {Health = 800, Armor = 800},
- [10] = {Health = 900, Armor = 900},
- [12] = {Health = 1000, Armor = 1000},
- [13] = {Health = 1100, Armor = 1100},
- [14] = {Health = 1200, Armor = 1200},
- }
- JobRanks[TEAM_SWAT].BonusSalary = 90
- JobRanks[TEAM_SWAT].ExtraLoadout = {}
- JobRanks[TEAM_SWAT].ExtraLoadoutSingleRank = {}
- JobRanks[TEAM_SWAT].Model = {}
- JobRanks[TEAM_SWAT].PrefixSeparator = " "
- JobRanks[TEAM_SWAT].Prefix = {
- [1] = "|Офицер 1|", --Police officer rank num (TEAM_SWAT)
- [2] = "|Офицер 2|", --Police officer rank num (TEAM_SWAT)
- [3] = "|Офицер 3|", -- same as Oficcer 3
- [4] = "|Сержант 1|", -- Sergeant rank 1
- [5] = "|Сержант 2|", -- Sergeant rank 2
- [6] = "|Лейтенант 1|", -- Leutinant rank 1 (TEAM_FBI, TEAM_SWAT, TEAM_SWAT)
- [7] = "|Лейтенант 2|", -- Leutinant rank 2 (same as rank 1)
- [8] = "|Лейтенант 3|", -- Leutinant rank 3 (same as rank 1)
- [9] = "|Капитан 1|", -- Captain rank 1 (TEAM_SWAT, TEAM_DETECTIVE, TEAM_SWAT, TEAM_FBI)
- [10] = "|Капитан 2|", -- Captain rank 2 same as rank 1
- [11] = "|Капитан 3|", -- Captain rank 3 same as rank 1
- }
- JobRanks[TEAM_SWAT].Entities = { --Restrict specific entities to ranks -> [ENTCLASS] = RankRequired
- ["cpk_kevlar_tactical"] = 1, --Requires rank 5 in order to buy moneyprinter
- ["cpk_kevlar_tactical"] = 1, --Requires rank 5 in order to buy moneyprinter
- }
- JobRanks[TEAM_SWAT].Shipments = { --Restrict specific shipments to ranks -> [SHIPMENT] = RankRequired
- ["weapon_policeshield"] = 1, --Requires rank 5 in order to buy shotgun shipment
- ["m9k_m416"] = 1, --Requires rank 5 in order to buy shotgun shipment
- }
- JobRanks[TEAM_SWAT].Warrant = 1
- JobRanks[TEAM_SWAT].Wanted = 1
- JobRanks[TEAM_SWAT].Permissions = {}
- JobRanks[TEAM_SWAT].Icons = { --Setup Rank icons -> [RANKID] = Material("PATH TO PNG")
- [1] = Material("materials/police_ranks/1-6.png"),
- [2] = Material("materials/police_ranks/1-7.png"),
- [3] = Material("materials/police_ranks/2-8.png"),
- [4] = Material("materials/police_ranks/3-9.png"),
- [5] = Material("materials/police_ranks/3-10.png"),
- [6] = Material("materials/police_ranks/3-12.png"),
- [7] = Material("materials/police_ranks/3-13.png"),
- [8] = Material("materials/police_ranks/3-14.png"),
- [9] = Material("materials/police_ranks/3-15.png"),
- [10] = Material("materials/police_ranks/4-24.png"),
- [11] = Material("materials/police_ranks/4-29.png"),
- }
- -------------------------------------------
- -----------TEAM_FBI------------------------
- -------------------------------------------
- JobRanks[TEAM_FBI] = {}
- JobRanks[TEAM_FBI].MaxJobRank = 11
- JobRanks[TEAM_FBI].ReqRanks = {
- [1] = 0,
- [2] = 15000, --THE VALUE MUST BE HIGHER IN EACH RANK THAN THE PREVIOUS RANK
- [3] = 30000,
- [4] = 60000,
- [5] = 120000,
- [6] = 200000,
- [7] = 300000,
- [8] = 450000,
- [9] = 500000,
- [10] = 550000,
- [11] = 600000,
- }
- JobRanks[TEAM_FBI].NameRanks = {
- [1] = "|Офицер FBI 1|",
- [2] = "|Офицер FBI 2|",
- [3] = "|Офицер FBI 3|",
- [4] = "|Сержант FBI 1|",
- [5] = "|Сержант FBI 2|",
- [6] = "|Лейтенант 1|",
- [7] = "|Лейтенант 2|",
- [8] = "|Лейтенант 3|",
- [9] = "|Капитан 1|",
- [10] = "|Капитан 2|",
- [11] = "|Капитан 3|",
- }
- JobRanks[TEAM_FBI].BonusStats = { --Bonus stats for ranks -> [RankID] = {Health = AmountExtraHP, Armor = AmountExtraAP}
- [1] = {Health = 80, Armor = 100},
- [2] = {Health = 100, Armor = 100},
- [3] = {Health = 150, Armor = 150},
- [4] = {Health = 200, Armor = 200},
- [5] = {Health = 250, Armor = 250},
- [6] = {Health = 300, Armor = 300},
- [7] = {Health = 350, Armor = 350},
- [8] = {Health = 400, Armor = 400},
- [9] = {Health = 450, Armor = 450},
- [10] = {Health = 500, Armor = 500},
- [12] = {Health = 550, Armor = 550},
- [13] = {Health = 600, Armor = 600},
- [14] = {Health = 700, Armor = 700},
- }
- JobRanks[TEAM_FBI].BonusSalary = 90
- JobRanks[TEAM_FBI].ExtraLoadout = {}
- JobRanks[TEAM_FBI].ExtraLoadoutSingleRank = {}
- JobRanks[TEAM_FBI].Model = {}
- JobRanks[TEAM_FBI].PrefixSeparator = " "
- JobRanks[TEAM_FBI].Prefix = {
- [1] = "|Офицер 1|", --Police officer rank num (TEAM_FBI)
- [2] = "|Офицер 2|", --Police officer rank num (TEAM_FBI)
- [3] = "|Офицер 3|", -- same as Oficcer 3
- [4] = "|Сержант 1|", -- Sergeant rank 1
- [5] = "|Сержант 2|", -- Sergeant rank 2
- [6] = "|Лейтенант 1|", -- Leutinant rank 1 (TEAM_FBI, TEAM_FBI, TEAM_FBI)
- [7] = "|Лейтенант 2|", -- Leutinant rank 2 (same as rank 1)
- [8] = "|Лейтенант 3|", -- Leutinant rank 3 (same as rank 1)
- [9] = "|Капитан 1|", -- Captain rank 1 (TEAM_FBI, TEAM_DETECTIVE, TEAM_FBI, TEAM_FBI)
- [10] = "|Капитан 2|", -- Captain rank 2 same as rank 1
- [11] = "|Капитан 3|", -- Captain rank 3 same as rank 1
- }
- JobRanks[TEAM_FBI].Entities = { --Restrict specific entities to ranks -> [ENTCLASS] = RankRequired
- ["cpk_kevlar_tactical"] = 1, --Requires rank 5 in order to buy moneyprinter
- ["cpk_kevlar_tactical"] = 1, --Requires rank 5 in order to buy moneyprinter
- }
- JobRanks[TEAM_FBI].Shipments = { --Restrict specific shipments to ranks -> [SHIPMENT] = RankRequired
- ["weapon_policeshield"] = 1, --Requires rank 5 in order to buy shotgun shipment
- ["m9k_m416"] = 1, --Requires rank 5 in order to buy shotgun shipment
- }
- JobRanks[TEAM_FBI].Warrant = 1
- JobRanks[TEAM_FBI].Wanted = 1
- JobRanks[TEAM_FBI].Permissions = {}
- JobRanks[TEAM_FBI].Icons = { --Setup Rank icons -> [RANKID] = Material("PATH TO PNG")
- [1] = Material("materials/police_ranks/1-10.png"),
- [2] = Material("materials/police_ranks/1-11.png"),
- [3] = Material("materials/police_ranks/2-12.png"),
- [4] = Material("materials/police_ranks/3-13.png"),
- [5] = Material("materials/police_ranks/3-14.png"),
- [6] = Material("materials/police_ranks/3-15.png"),
- [7] = Material("materials/police_ranks/3-16.png"),
- [8] = Material("materials/police_ranks/3-18.png"),
- [9] = Material("materials/police_ranks/3-19.png"),
- [10] = Material("materials/police_ranks/4-20.png"),
- [11] = Material("materials/police_ranks/4-21.png"),
- }
- -------------------------------------------
- -----------TEAM_DETECTIVE------------------
- -------------------------------------------
- JobRanks[TEAM_DETECTIVE] = {}
- JobRanks[TEAM_DETECTIVE].MaxJobRank = 9
- JobRanks[TEAM_DETECTIVE].ReqRanks = {
- [1] = 0,
- [2] = 15000, --THE VALUE MUST BE HIGHER IN EACH RANK THAN THE PREVIOUS RANK
- [3] = 30000,
- [4] = 60000,
- [5] = 120000,
- [6] = 200000,
- [7] = 300000,
- [8] = 450000,
- [9] = 500000,
- }
- JobRanks[TEAM_DETECTIVE].NameRanks = {
- [1] = "|Детектив Полиции 1|",
- [2] = "|Детектив Полиции 2|",
- [3] = "|Детектив Полиции 3|",
- [4] = "|Лейтенант 1|",
- [5] = "|Лейтенант 2|",
- [6] = "|Лейтенант 3|",
- [7] = "|Капитан 1|",
- [8] = "|Капитан 2|",
- [9] = "|Капитан 3|",
- }
- JobRanks[TEAM_DETECTIVE].BonusSalary = 90
- JobRanks[TEAM_DETECTIVE].ExtraLoadout = {}
- JobRanks[TEAM_DETECTIVE].ExtraLoadoutSingleRank = {}
- JobRanks[TEAM_DETECTIVE].Model = {}
- JobRanks[TEAM_DETECTIVE].PrefixSeparator = " "
- JobRanks[TEAM_DETECTIVE].Prefix = {
- --[1] = "|Сержант 2|", -- Sergeant rank 2
- [1] = "|Детектив 1|", -- Detective (TEAM_DETECTIVE)
- [2] = "|Детектив 2|", -- Detective rank 2
- [3] = "|Детектив 3|", -- Detective rank 3
- [4] = "|Лейтенант 1|", -- Leutinant rank 1 (TEAM_FBI, TEAM_SWAT, TEAM_POLICE)
- [5] = "|Лейтенант 2|", -- Leutinant rank 2 (same as rank 1)
- [6] = "|Лейтенант 3|", -- Leutinant rank 3 (same as rank 1)
- [7] = "|Капитан 1|", -- Captain rank 1 (TEAM_POLICE, TEAM_DETECTIVE, TEAM_SWAT, TEAM_FBI)
- [8] = "|Капитан 2|", -- Captain rank 2 same as rank 1
- [9] = "|Капитан 3|", -- Captain rank 3 same as rank 1
- }
- JobRanks[TEAM_DETECTIVE].Entities = { --Restrict specific entities to ranks -> [ENTCLASS] = RankRequired
- ["cpk_kevlar_tactical"] = 1, --Requires rank 5 in order to buy moneyprinter
- ["cpk_kevlar_tactical"] = 1, --Requires rank 5 in order to buy moneyprinter
- }
- JobRanks[TEAM_DETECTIVE].Shipments = { --Restrict specific shipments to ranks -> [SHIPMENT] = RankRequired
- ["weapon_policeshield"] = 1, --Requires rank 5 in order to buy shotgun shipment
- ["m9k_m416"] = 1, --Requires rank 5 in order to buy shotgun shipment
- }
- JobRanks[TEAM_DETECTIVE].Warrant = 1
- JobRanks[TEAM_DETECTIVE].Wanted = 1
- JobRanks[TEAM_DETECTIVE].Permissions = {}
- JobRanks[TEAM_DETECTIVE].Icons = { --Setup Rank icons -> [RANKID] = Material("PATH TO PNG")
- --[1] = Material("materials/police_ranks/3-10.png"),
- [1] = Material("materials/police_ranks/3-11.png"),
- [2] = Material("materials/police_ranks/3-12.png"),
- [3] = Material("materials/police_ranks/3-13.png"),
- [4] = Material("materials/police_ranks/3-14.png"),
- [5] = Material("materials/police_ranks/3-15.png"),
- [6] = Material("materials/police_ranks/3-16.png"),
- [7] = Material("materials/police_ranks/4-18.png"),
- [8] = Material("materials/police_ranks/4-19.png"),
- [9] = Material("materials/police_ranks/4-20.png"),
- }
- -------------------------------------------
- -------------TEAM_RPOLICE------------------
- -------------------------------------------
- JobRanks[TEAM_RPOLICE] = {}
- JobRanks[TEAM_RPOLICE].MaxJobRank = 14
- JobRanks[TEAM_RPOLICE].ReqRanks = {
- [1] = 0,
- [2] = 15000,
- [3] = 30000,
- [4] = 60000,
- [5] = 120000,
- [6] = 200000,
- [7] = 300000,
- [8] = 450000,
- [9] = 500000,
- [10] = 550000,
- [11] = 600000,
- [12] = 650000,
- [13] = 750000,
- [14] = 900000,
- }
- JobRanks[TEAM_RPOLICE].NameRanks = {
- [1] = "|Кадет|",
- [2] = "|Трупер 1|",
- [3] = "|Трупер 2|",
- [4] = "|Сержант Полиции 1|",
- [5] = "|Сержант Полиции 2|",
- [6] = "|Лейтенант 1|",
- [7] = "|Лейтенант 2|",
- [8] = "|Лейтенант 3|",
- [9] = "|Капитан|",
- [10] = "|Помощник шефа|",
- [11] = "|Шеф|",
- [12] = "|Помощник комиссара КДП|",
- [13] = "|Заместитель комиссара КДП|",
- [14] = "|Комиссар КДП|",
- }
- JobRanks[TEAM_RPOLICE].BonusSalary = 30
- JobRanks[TEAM_RPOLICE].ExtraLoadout = {}
- JobRanks[TEAM_RPOLICE].ExtraLoadoutSingleRank = {}
- JobRanks[TEAM_RPOLICE].Model = {}
- JobRanks[TEAM_RPOLICE].PrefixSeparator = " "
- JobRanks[TEAM_RPOLICE].Prefix = {
- [1] = "|Кадет|",
- [2] = "|Трупер 1|",
- [3] = "|Трупер 2|",
- [4] = "|Сержант Полиции 1|",
- [5] = "|Сержант Полиции 2|",
- [6] = "|Лейтенант 1|",
- [7] = "|Лейтенант 2|",
- [8] = "|Лейтенант 3|",
- [9] = "|Капитан|",
- [10] = "|Помощник шефа|",
- [11] = "|Шеф|",
- [12] = "|Помощник комиссара КДП|",
- [13] = "|Заместитель комиссара КДП|",
- [14] = "|Комиссар КДП|",
- }
- JobRanks[TEAM_RPOLICE].Entities = {}
- JobRanks[TEAM_RPOLICE].Shipments = {}
- JobRanks[TEAM_RPOLICE].Warrant = 1
- JobRanks[TEAM_RPOLICE].Wanted = 1
- JobRanks[TEAM_RPOLICE].Permissions = {}
- JobRanks[TEAM_RPOLICE].Icons = { --Setup Rank icons -> [RANKID] = Material("PATH TO PNG")
- [1] = Material("materials/police_ranks/0.png"),
- [2] = Material("materials/police_ranks/1-1.png"),
- [3] = Material("materials/police_ranks/4-3.png"),
- [4] = Material("materials/police_ranks/3-6.png"),
- [5] = Material("materials/police_ranks/3-7.png"),
- [6] = Material("materials/police_ranks/1-8.png"),
- [7] = Material("materials/police_ranks/2-9.png"),
- [8] = Material("materials/police_ranks/3-10.png"),
- [9] = Material("materials/police_ranks/2-11.png"),
- [10] = Material("materials/police_ranks/3-12.png"),
- [11] = Material("materials/police_ranks/4-13.png"),
- [12] = Material("materials/police_ranks/4-14.png"),
- [13] = Material("materials/police_ranks/4-15.png"),
- [14] = Material("materials/police_ranks/4-23.png"),
- }
- -------------------------------------------
- -------------TEAM_POLICE-------------------
- -------------------------------------------
- JobRanks[TEAM_POLICE] = {}
- JobRanks[TEAM_POLICE].MaxJobRank = 14
- JobRanks[TEAM_POLICE].ReqRanks = {
- [1] = 0,
- [2] = 15000, --THE VALUE MUST BE HIGHER IN EACH RANK THAN THE PREVIOUS RANK
- [3] = 30000,
- [4] = 60000,
- [5] = 120000,
- [6] = 200000,
- [7] = 300000,
- [8] = 450000,
- [9] = 500000,
- [10] = 550000,
- [11] = 600000,
- [12] = 650000,
- [13] = 750000,
- [14] = 900000,
- }
- JobRanks[TEAM_POLICE].NameRanks = {
- [1] = "|Офицер Полиции 1|",
- [2] = "|Офицер Полиции 2|",
- [3] = "|Офицер Полиции 3|",
- [4] = "|Сержант Полиции 1|",
- [5] = "|Сержант Полиции 2|",
- [6] = "|Детектив Полиции 1|",
- [7] = "|Детектив Полиции 2|",
- [8] = "|Детектив Полиции 3|",
- [9] = "|Лейтенант 1|",
- [10] = "|Лейтенант 2|",
- [11] = "|Лейтенант 3|",
- [12] = "|Капитан 1|",
- [13] = "|Капитан 2|",
- [14] = "|Капитан 3|",
- }
- JobRanks[TEAM_POLICE].BonusSalary = 90
- JobRanks[TEAM_POLICE].ExtraLoadout = {}
- JobRanks[TEAM_POLICE].ExtraLoadoutSingleRank = {}
- JobRanks[TEAM_POLICE].Model = {}
- JobRanks[TEAM_POLICE].PrefixSeparator = " "
- JobRanks[TEAM_POLICE].Prefix = {
- [1] = "|Офицер 1|", --Police officer rank num (TEAM_POLICE)
- [2] = "|Офицер 2|", --Police officer rank num (TEAM_POLICE)
- [3] = "|Офицер 3|", -- same as Oficcer 3
- [4] = "|Сержант 1|", -- Sergeant rank 1
- [5] = "|Сержант 2|", -- Sergeant rank 2
- [6] = "|Детектив 1|", -- Detective (TEAM_DETECTIVE)
- [7] = "|Детектив 2|", -- Detective rank 2
- [8] = "|Детектив 3|", -- Detective rank 3
- [9] = "|Лейтенант 1|", -- Leutinant rank 1 (TEAM_FBI, TEAM_SWAT, TEAM_POLICE)
- [10] = "|Лейтенант 2|", -- Leutinant rank 2 (same as rank 1)
- [11] = "|Лейтенант 3|", -- Leutinant rank 3 (same as rank 1)
- [12] = "|Капитан 1|", -- Captain rank 1 (TEAM_POLICE, TEAM_DETECTIVE, TEAM_SWAT, TEAM_FBI)
- [13] = "|Капитан 2|", -- Captain rank 2 same as rank 1
- [14] = "|Капитан 3|", -- Captain rank 3 same as rank 1
- }
- JobRanks[TEAM_POLICE].Entities = { --Restrict specific entities to ranks -> [ENTCLASS] = RankRequired
- ["cpk_kevlar_tactical"] = 3, --Requires rank 5 in order to buy moneyprinter
- ["cpk_kevlar_tactical"] = 1, --Requires rank 5 in order to buy moneyprinter
- }
- JobRanks[TEAM_POLICE].Shipments = { --Restrict specific shipments to ranks -> [SHIPMENT] = RankRequired
- ["weapon_policeshield"] = 4, --Requires rank 5 in order to buy shotgun shipment
- ["m9k_m416"] = 2, --Requires rank 5 in order to buy shotgun shipment
- }
- JobRanks[TEAM_POLICE].Warrant = 1
- JobRanks[TEAM_POLICE].Wanted = 1
- JobRanks[TEAM_POLICE].Permissions = {}
- JobRanks[TEAM_POLICE].Icons = { --Setup Rank icons -> [RANKID] = Material("PATH TO PNG")
- [1] = Material("materials/police_ranks/2-1.png"),
- [2] = Material("materials/police_ranks/3-2.png"),
- [3] = Material("materials/police_ranks/4-3.png"),
- [4] = Material("materials/police_ranks/3-6.png"),
- [5] = Material("materials/police_ranks/3-7.png"),
- [6] = Material("materials/police_ranks/1-8.png"),
- [7] = Material("materials/police_ranks/2-9.png"),
- [8] = Material("materials/police_ranks/3-10.png"),
- [9] = Material("materials/police_ranks/2-11.png"),
- [10] = Material("materials/police_ranks/3-12.png"),
- [11] = Material("materials/police_ranks/4-13.png"),
- [12] = Material("materials/police_ranks/4-14.png"),
- [13] = Material("materials/police_ranks/4-15.png"),
- [14] = Material("materials/police_ranks/4-23.png"),
- }
- JobRanks[TEAM_POLICE].BonusStats = { --Bonus stats for ranks -> [RankID] = {Health = AmountExtraHP, Armor = AmountExtraAP}
- [1] = {Health = 10, Armor = 10},
- [2] = {Health = 15, Armor = 15},
- [3] = {Health = 20, Armor = 20},
- [4] = {Health = 30, Armor = 30},
- [5] = {Health = 40, Armor = 40},
- [6] = {Health = 50, Armor = 50},
- [7] = {Health = 60, Armor = 60},
- [8] = {Health = 70, Armor = 70},
- [9] = {Health = 80, Armor = 80},
- [10] = {Health = 90, Armor = 90},
- [12] = {Health = 100, Armor = 100},
- [13] = {Health = 110, Armor = 110},
- [14] = {Health = 120, Armor = 120},
- }
- //Setting this to true will only allow progression through promotion manually by admin
- JobRanks[TEAM_POLICE].DisableProgression = false
- //Others jobs this job is allowed to promote/demote
- JobRanks[TEAM_POLICE].PermissionJobList = {
- --[[
- Example:
- [TEAM_CHIEF] = true, <---- Don't forget THIS COMMA
- This would allow this job to promote and demote the job TEAM_CHIEF
- ]]
- [TEAM_POLICE] = true,
- }
- --[[
- Promote = true/false -> Can this rank promote?
- MaxPromotion = Number -> Max rank this rank can promote to
- Demote = true/false -> Can this rank demote?
- MaxDemotion = Number -> Max rank this rank can demote to
- Leaving MaxPromotion empty will allow to set to highest rank
- Leaving MaxDemotion empty will allow to set to lowest rank
- NOTE: Only add ranks that you want to grant permissions to, if the rank isn't in this config it can't promote or demote
- ]]
- JobRanks[TEAM_POLICE].Permissions =
- {
- [5] = {Promote = false, Demote = true, MaxDemotion = 4}, -- Can only demote to rank 4
- [6] = {Promote = true, Demote = false, MaxPromotion = 5}, -- Can only promote to rank 5
- [7] = {Promote = true, Demote = true, MaxPromotion = 5, MaxDemotion = 3}, -- Can Promote to rank 5 and demote to rank 3
- [8] = {Promote = true, Demote = true}, -- Can promote to highest rank and demote to lowest
- }
- -----------------------------------
- --------TEAM_CHIEF-----------------
- -----------------------------------
- JobRanks[TEAM_CHIEF] = {}
- JobRanks[TEAM_CHIEF].MaxJobRank = 4
- JobRanks[TEAM_CHIEF].ReqRanks = {
- [1] = 0,
- [2] = 50000,
- [3] = 100000,
- [4] = 200000,
- }
- JobRanks[TEAM_CHIEF].NameRanks = {
- [1] = "|Капитан 3|",
- [2] = "|Командующий",
- [3] = "|Заместитель Шефа Полиции 1|",
- [4] = "|Заместитель Шефа Полиции 2|",
- [5] = "|Шеф Полиции",
- }
- JobRanks[TEAM_CHIEF].BonusSalary = 30
- JobRanks[TEAM_CHIEF].ExtraLoadout = {}
- JobRanks[TEAM_CHIEF].ExtraLoadoutSingleRank = {}
- JobRanks[TEAM_CHIEF].Model = {}
- JobRanks[TEAM_CHIEF].PrefixSeparator = " "
- JobRanks[TEAM_CHIEF].Prefix = {
- [1] = "|Капитан 3|", -- Captain rank 3 same as rank 1
- [2] = "|Командующий", -- (TEAM_CHEIF)
- [3] = "|Зам шефа 1|", -- (TEAM_CHEIF)
- [4] = "|Зам шефа 2|", -- Same as rank 1
- [5] = "|Шеф Полиции", -- TEAM_CHEIF (highest)
- }
- JobRanks[TEAM_CHIEF].Entities = {}
- JobRanks[TEAM_CHIEF].Shipments = {}
- JobRanks[TEAM_CHIEF].Warrant = 1
- JobRanks[TEAM_CHIEF].Wanted = 1
- JobRanks[TEAM_CHIEF].Permissions = {}
- JobRanks[TEAM_CHIEF].Icons = { --Setup Rank icons -> [RANKID] = Material("PATH TO PNG")
- [1] = Material("materials/police_ranks/3-25.png"),
- [2] = Material("materials/police_ranks/3-26.png"),
- [3] = Material("materials/police_ranks/3-27.png"),
- [4] = Material("materials/police_ranks/4-28.png"),
- [5] = Material("materials/police_ranks/4-30.png"),
- }
- --------------------------------------
- --------------------------------------
- --------------------------------------
- -------------------------------------------
- -------------TEAM_SOLDAT-------------------
- -------------------------------------------
- --[[JobRanksConfig.JobJoinRestrictments = {
- [TEAM_SOLDAT] = {--For Chief of police
- [TEAM_POLICE] = 1,--Requires rank 8 as Police to join
- },
- [TEAM_MEDSOLDAT] = {--For Chief of police
- [TEAM_SOLDAT] = 2,--Requires rank 8 as Police to join
- },
- [TEAM_SNIPSOLDAT] = {--For Chief of police
- [TEAM_SOLDAT] = 2,--Requires rank 8 as Police to join
- },
- [TEAM_KAPSOLDAT] = {--For Chief of police
- [TEAM_SOLDAT] = 15,--Requires rank 8 as Police to join
- },
- [TEAM_KAPSOLDAT] = {--For Chief of police
- [TEAM_GENSOLDAT] = 8,--Requires rank 8 as Police to join
- },
- --]]
- JobRanks[TEAM_SOLDAT] = {} --Each rank table REQUIRES this one to work, otherwise it will BREAK!
- JobRanks[TEAM_SOLDAT].MaxJobRank = 15 --Max rank achieveable
- JobRanks[TEAM_SOLDAT].ReqRanks = {-- XP/Playtime required for each rank -> [RANKID] = AmountRequired,
- [0] = 0,
- [2] = 3500, --THE VALUE MUST BE HIGHER IN EACH RANK THAN THE PREVIOUS RANK
- [3] = 5000,
- [4] = 6000,
- [5] = 12000,
- [6] = 20000,
- [7] = 30000,
- [8] = 45000,
- [9] = 50000,
- [10] = 55000,
- [11] = 60000,
- [12] = 65000,
- [13] = 75000,
- [14] = 90000,
- [15] = 100000,
- }
- JobRanks[TEAM_SOLDAT].NameRanks = { -- Names for each rank -> [RANKID] = "|Name"
- [0] = "|Рядовой",
- [1] = "|Рядовой 1",
- [2] = "|Специалист",
- [3] = "|Капрал",
- [4] = "|Сержант",
- [5] = "|Штаб-Сержант",
- [6] = "|Сержант Первого Класса",
- [7] = "|Мастер Сержант",
- [8] = "|Первый Сержант",
- [9] = "|Сержант Майор",
- [10] = "|Команд-Сержант-Майор",
- [11] = "|Сержант-майор Сухопутных вйоск",
- [12] = "|Лейтенант 3",
- [13] = "|Капитан 1",
- [14] = "|Капитан 2",
- [15] = "|Капитан 3",
- }
- JobRanks[TEAM_SOLDAT].BonusSalary = 30 --Extra salary bonus for EACH rank -> 15*RANK -> At rank 2 $30 extra salary, rank 3 $45 extra salary and so on
- --JobRanks[TEAM_SOLDAT].ExtraLoadout = {--Bonus Equipments for rank X and higher, [RANKID] = WEAPONCLASS
- --["weapon_pumpshotgun2"] = 5, --Rank 5 or higher spawns with shotgun
- --["weapon_mp52"] = 7,--Rank 7 or higher spawns with MP5
- --}
- --JobRanks[TEAM_SOLDAT].ExtraLoadoutSingleRank = {--Bonus Equipments for a SPECIFIC rank only, [RANKID] = {WEAPONCLASS}
- --[5] = {"weapon_pumpshotgun2"}, -- Gives a shotgun to rank 5 only
- --[7] = {"weapon_pumpshotgun2","weapon_mp52"} -- Gives a shotgun and mp5 to rank 7 only
- --}
- JobRanks[TEAM_SOLDAT].Model = { --Setup different models for each rank, leave it empty to keep default, if you want specific ranks to use default models dont add it in this table
- --[[
- If you just want one model, this structure is fine, otherwise to avoid confusion you should use the one below the first
- [RankID] = {{Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID}}
- [RankID] = {
- {Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID},
- {Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID}, <- this comma is super important, should be one between each one
- {Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID}
- }
- ]]
- --[1] = {{Model = "|models/player/police.mdl", Bodygroups = {{0,0},{2,1}}, Skin = 1}}, --Sets model, two custom bodygroups and skin to 1
- --Skipped rank 2, it will now set default model on rank 2
- --[3] = {{Model = "|models/player/police_fem.mdl", Bodygroups = nil, Skin = 3}}, --Sets model, no bodygroups, sets skin to 3
- --[4] = {{Model = nil, Bodygroups = nil, Skin = 2}}, --Sets default model, no bodygroups, sets skin to 2
- }
- JobRanks[TEAM_SOLDAT].PrefixSeparator = "|." -- What separates the prefix from the name, for example if set to a space it would be Pvt ToBadForYou, if set to a . then Pvt.ToBadForYou etc
- JobRanks[TEAM_SOLDAT].Prefix = { --It's set infront of the name for example Pvt.ToBadForYou, Sgt.ToBadForYou -> [RANKID] = "|Prefix"
- [0] = "|Рядовой",
- [1] = "|Рядовой 1",
- [2] = "|Специалист",
- [3] = "|Капрал",
- [4] = "|Сержант",
- [5] = "|Штаб-Сержант",
- [6] = "|Сержант Первого Класса",
- [7] = "|Мастер Сержант",
- [8] = "|Первый Сержант",
- [9] = "|Сержант Майор",
- [10] = "|Команд-Сержант-Майор",
- [11] = "|Сержант-майор Сухопутных вйоск",
- [12] = "|Лейтенант 3",
- [13] = "|Капитан 1",
- [14] = "|Капитан 2",
- [15] = "|Капитан 3",
- }
- --JobRanks[TEAM_SOLDAT].Entities = { --Restrict specific entities to ranks -> [ENTCLASS] = RankRequired
- --["money_printer"] = 5, --Requires rank 5 in order to buy moneyprinter
- --}
- --JobRanks[TEAM_SOLDAT].Shipments = { --Restrict specific shipments to ranks -> [SHIPMENT] = RankRequired
- --["weapon_pumpshotgun2"] = 5, --Requires rank 5 in order to buy shotgun shipment
- --}
- JobRanks[TEAM_SOLDAT].Warrant = 5 --Allows warranting for rank it set to and higher, so Rank 5 and higher can warrant: SET TO NIL TO DISABLE WARRANT FOR ALL RANKS
- JobRanks[TEAM_SOLDAT].Wanted = 5--Allows wanted for rank it set to and higher, so Rank 5 and higher can wanted: SET TO NIL TO DISABLE WANTED FOR ALL RANKS
- //THESE ARE JUST TEMPLATES, download icons online and insert their path here (Also upload it on workshop or to your FastDL and add it to force download)
- --[[JobRanks[TEAM_SOLDAT].Icons = { --Setup Rank icons -> [RANKID] = Material("PATH TO PNG")
- [1] = Material("jobranks/police/rank1.png"),
- [2] = Material("jobranks/police/rank2.png"),
- [3] = Material("jobranks/police/rank3.png"),
- [4] = Material("jobranks/police/rank4.png"),
- [5] = Material("jobranks/police/rank5.png"),
- [6] = Material("jobranks/police/rank6.png"),
- [7] = Material("jobranks/police/rank7.png"),
- [8] = Material("jobranks/police/rank8.png"),
- }--]]
- JobRanks[TEAM_SOLDAT].BonusStats = { --Bonus stats for ranks -> [RankID] = {Health = AmountExtraHP, Armor = AmountExtraAP}
- [1] = {Health = 100, Armor = 100},
- [2] = {Health = 150, Armor = 150},
- [3] = {Health = 200, Armor = 200},
- [4] = {Health = 300, Armor = 300},
- [5] = {Health = 400, Armor = 400},
- [6] = {Health = 500, Armor = 500},
- [7] = {Health = 600, Armor = 600},
- [8] = {Health = 700, Armor = 700},
- [9] = {Health = 800, Armor = 800},
- [10] = {Health = 900, Armor = 900},
- [12] = {Health = 1000, Armor = 1000},
- [13] = {Health = 1100, Armor = 1100},
- [14] = {Health = 1200, Armor = 1200},
- [15] = {Health = 1300, Armor = 1300},
- }
- //Setting this to true will only allow progression through promotion manually by admin
- JobRanks[TEAM_SOLDAT].DisableProgression = false
- JobRanks[TEAM_SOLDAT].Entities = { --Restrict specific entities to ranks -> [ENTCLASS] = RankRequired
- ["cpk_kevlar_tactical"] = 3, --Requires rank 5 in order to buy moneyprinter
- ["cpk_kevlar_tactical"] = 1, --Requires rank 5 in order to buy moneyprinter
- }
- //Others jobs this job is allowed to promote/demote
- --JobRanks[TEAM_SOLDAT].PermissionJobList = {
- --[[
- Example:
- [TEAM_CHIEF] = true, <---- Don't forget THIS COMMA
- This would allow this job to promote and demote the job TEAM_CHIEF
- ]]
- --[TEAM_SOLDAT] = true,
- --}
- --[[
- Promote = true/false -> Can this rank promote?
- MaxPromotion = Number -> Max rank this rank can promote to
- Demote = true/false -> Can this rank demote?
- MaxDemotion = Number -> Max rank this rank can demote to
- Leaving MaxPromotion empty will allow to set to highest rank
- Leaving MaxDemotion empty will allow to set to lowest rank
- NOTE: Only add ranks that you want to grant permissions to, if the rank isn't in this config it can't promote or demote
- ]]
- --[[JobRanks[TEAM_SOLDAT].Permissions =
- {
- [5] = {Promote = false, Demote = true, MaxDemotion = 4}, -- Can only demote to rank 4
- [6] = {Promote = true, Demote = false, MaxPromotion = 5}, -- Can only promote to rank 5
- [7] = {Promote = true, Demote = true, MaxPromotion = 5, MaxDemotion = 3}, -- Can Promote to rank 5 and demote to rank 3
- [8] = {Promote = true, Demote = true}, -- Can promote to highest rank and demote to lowest
- }--]]
- -------------------------------------------
- -------------TEAM_MEDSOLDAT----------------
- -------------------------------------------
- JobRanks[TEAM_MEDSOLDAT] = {} --Each rank table REQUIRES this one to work, otherwise it will BREAK!
- JobRanks[TEAM_MEDSOLDAT].MaxJobRank = 16 --Max rank achieveable
- JobRanks[TEAM_MEDSOLDAT].ReqRanks = {-- XP/Playtime required for each rank -> [RANKID] = AmountRequired,
- [0] = 0,
- [2] = 3500, --THE VALUE MUST BE HIGHER IN EACH RANK THAN THE PREVIOUS RANK
- [3] = 5000,
- [4] = 6000,
- [5] = 12000,
- [6] = 20000,
- [7] = 30000,
- [8] = 45000,
- [9] = 50000,
- [10] = 55000,
- [11] = 60000,
- [12] = 65000,
- [13] = 75000,
- [14] = 90000,
- [15] = 100000,
- [16] = 110000,
- }
- JobRanks[TEAM_MEDSOLDAT].NameRanks = { -- Names for each rank -> [RANKID] = "|Name"
- [0] = "|Специалист |",
- [1] = "|Специалист 2|",
- [2] = "|Специалист 3|",
- [3] = "|Капрал |",
- [4] = "|Сержант |",
- [5] = "|Штаб-Сержант |",
- [6] = "|Сержант Первого Класса |",
- [7] = "|Мастер Сержант |",
- [8] = "|Первый Сержант |",
- [9] = "|Сержант Майор |",
- [10] = "|Команд-Сержант-Майор |",
- [11] = "|Сержант-майор Сухопутных вйоск |",
- [12] = "|Лейтенант 3 |",
- [13] = "|Капитан 1 |",
- [14] = "|Капитан 2 |",
- [15] = "|Капитан 3 |",
- [16] = "|Командующий |",
- }
- JobRanks[TEAM_MEDSOLDAT].BonusSalary = 35 --Extra salary bonus for EACH rank -> 15*RANK -> At rank 2 $30 extra salary, rank 3 $45 extra salary and so on
- --JobRanks[TEAM_SOLDAT].ExtraLoadout = {--Bonus Equipments for rank X and higher, [RANKID] = WEAPONCLASS
- --["weapon_pumpshotgun2"] = 5, --Rank 5 or higher spawns with shotgun
- --["weapon_mp52"] = 7,--Rank 7 or higher spawns with MP5
- --}
- --JobRanks[TEAM_SOLDAT].ExtraLoadoutSingleRank = {--Bonus Equipments for a SPECIFIC rank only, [RANKID] = {WEAPONCLASS}
- --[5] = {"weapon_pumpshotgun2"}, -- Gives a shotgun to rank 5 only
- --[7] = {"weapon_pumpshotgun2","weapon_mp52"} -- Gives a shotgun and mp5 to rank 7 only
- --}
- JobRanks[TEAM_MEDSOLDAT].Model = { --Setup different models for each rank, leave it empty to keep default, if you want specific ranks to use default models dont add it in this table
- --[[
- If you just want one model, this structure is fine, otherwise to avoid confusion you should use the one below the first
- [RankID] = {{Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID}}
- [RankID] = {
- {Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID},
- {Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID}, <- this comma is super important, should be one between each one
- {Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID}
- }
- ]]
- --[1] = {{Model = "|models/player/police.mdl", Bodygroups = {{0,0},{2,1}}, Skin = 1}}, --Sets model, two custom bodygroups and skin to 1
- --Skipped rank 2, it will now set default model on rank 2
- --[3] = {{Model = "|models/player/police_fem.mdl", Bodygroups = nil, Skin = 3}}, --Sets model, no bodygroups, sets skin to 3
- --[4] = {{Model = nil, Bodygroups = nil, Skin = 2}}, --Sets default model, no bodygroups, sets skin to 2
- }
- JobRanks[TEAM_MEDSOLDAT].PrefixSeparator = "| | " -- What separates the prefix from the name, for example if set to a space it would be Pvt ToBadForYou, if set to a . then Pvt.ToBadForYou etc
- JobRanks[TEAM_MEDSOLDAT].Prefix = { --It's set infront of the name for example Pvt.ToBadForYou, Sgt.ToBadForYou -> [RANKID] = "|Prefix"
- [0] = "|Специалист 1|",
- [1] = "|Специалист 2|",
- [2] = "|Специалист 3|",
- [3] = "|Капрал|",
- [4] = "|Сержант|",
- [5] = "|Штаб-Сержант|",
- [6] = "|Сержант Первого Класса|",
- [7] = "|Мастер Сержант|",
- [8] = "|Первый Сержант|",
- [9] = "|Сержант Майор|",
- [10] = "|Команд-Сержант-Майор|",
- [11] = "|Сержант-майор Сухопутных вйоск|",
- [12] = "|Лейтенант 3|",
- [13] = "|Капитан 1|",
- [14] = "|Капитан 2|",
- [15] = "|Капитан 3|",
- [16] = "|Командующий|",
- }
- --JobRanks[TEAM_SOLDAT].Entities = { --Restrict specific entities to ranks -> [ENTCLASS] = RankRequired
- --["money_printer"] = 5, --Requires rank 5 in order to buy moneyprinter
- --}
- --JobRanks[TEAM_SOLDAT].Shipments = { --Restrict specific shipments to ranks -> [SHIPMENT] = RankRequired
- --["weapon_pumpshotgun2"] = 5, --Requires rank 5 in order to buy shotgun shipment
- --}
- JobRanks[TEAM_MEDSOLDAT].Warrant = 5 --Allows warranting for rank it set to and higher, so Rank 5 and higher can warrant: SET TO NIL TO DISABLE WARRANT FOR ALL RANKS
- JobRanks[TEAM_MEDSOLDAT].Wanted = 5--Allows wanted for rank it set to and higher, so Rank 5 and higher can wanted: SET TO NIL TO DISABLE WANTED FOR ALL RANKS
- //THESE ARE JUST TEMPLATES, download icons online and insert their path here (Also upload it on workshop or to your FastDL and add it to force download)
- --[[JobRanks[TEAM_SOLDAT].Icons = { --Setup Rank icons -> [RANKID] = Material("PATH TO PNG")
- [1] = Material("jobranks/police/rank1.png"),
- [2] = Material("jobranks/police/rank2.png"),
- [3] = Material("jobranks/police/rank3.png"),
- [4] = Material("jobranks/police/rank4.png"),
- [5] = Material("jobranks/police/rank5.png"),
- [6] = Material("jobranks/police/rank6.png"),
- [7] = Material("jobranks/police/rank7.png"),
- [8] = Material("jobranks/police/rank8.png"),
- }--]]
- JobRanks[TEAM_MEDSOLDAT].BonusStats = { --Bonus stats for ranks -> [RankID] = {Health = AmountExtraHP, Armor = AmountExtraAP}
- [1] = {Health = 200, Armor = 200},
- [2] = {Health = 350, Armor = 350},
- [3] = {Health = 400, Armor = 400},
- [4] = {Health = 500, Armor = 500},
- [5] = {Health = 600, Armor = 600},
- [6] = {Health = 700, Armor = 700},
- [7] = {Health = 800, Armor = 800},
- [8] = {Health = 900, Armor = 900},
- [9] = {Health = 1000, Armor = 1000},
- [10] = {Health = 1100, Armor = 1100},
- [12] = {Health = 1200, Armor = 1200},
- [13] = {Health = 1300, Armor = 1300},
- [14] = {Health = 1400, Armor = 1400},
- }
- //Setting this to true will only allow progression through promotion manually by admin
- JobRanks[TEAM_MEDSOLDAT].DisableProgression = false
- JobRanks[TEAM_MEDSOLDAT].Entities = { --Restrict specific entities to ranks -> [ENTCLASS] = RankRequired
- ["cpk_kevlar_tactical"] = 3, --Requires rank 5 in order to buy moneyprinter
- ["cpk_kevlar_tactical"] = 1, --Requires rank 5 in order to buy moneyprinter
- ["smart_disease_med_antibiotic"] = 1, --Requires rank 5 in order to buy moneyprinter
- ["smart_disease_med_antianxiety"] = 1, --Requires rank 5 in order to buy moneyprinter
- ["smart_disease_med_antipsychotic"] = 1, --Requires rank 5 in order to buy moneyprinter
- ["smart_disease_med_antiviral"] = 1, --Requires rank 5 in order to buy moneyprinter
- ["smart_disease_vaccine_diptheria"] = 1, --Requires rank 5 in order to buy moneyprinter
- ["smart_disease_vaccine_ebola"] = 1, --Requires rank 5 in order to buy moneyprinter
- ["smart_disease_vaccine_flu"] = 1, --Requires rank 5 in order to buy moneyprinter
- ["smart_disease_vaccine_panic"] = 1, --Requires rank 5 in order to buy moneyprinter
- ["smart_disease_vaccine_polio"] = 1, --Requires rank 5 in order to buy moneyprinter
- ["smart_disease_vaccine_sars"] = 1, --Requires rank 5 in order to buy moneyprinter
- ["smart_disease_vaccine_schizo"] = 1, --Requires rank 5 in order to buy moneyprinter
- ["smart_disease_vaccine_staph"] = 1, --Requires rank 5 in order to buy moneyprinter
- ["smart_disease_vaccine_zombie"] = 1, --Requires rank 5 in order to buy moneyprinter
- }
- //Others jobs this job is allowed to promote/demote
- --JobRanks[TEAM_SOLDAT].PermissionJobList = {
- --
- --Example:
- --[TEAM_CHIEF] = true, <---- Don't forget THIS COMMA
- --This would allow this job to promote and demote the job TEAM_CHIEF
- --[TEAM_SOLDAT] = true,
- --
- --]]
- --[[
- Promote = true/false -> Can this rank promote?
- MaxPromotion = Number -> Max rank this rank can promote to
- Demote = true/false -> Can this rank demote?
- MaxDemotion = Number -> Max rank this rank can demote to
- Leaving MaxPromotion empty will allow to set to highest rank
- Leaving MaxDemotion empty will allow to set to lowest rank
- NOTE: Only add ranks that you want to grant permissions to, if the rank isn't in this config it can't promote or demote
- ]]
- --[[JobRanks[TEAM_SOLDAT].Permissions =
- {
- [5] = {Promote = false, Demote = true, MaxDemotion = 4}, -- Can only demote to rank 4
- [6] = {Promote = true, Demote = false, MaxPromotion = 5}, -- Can only promote to rank 5
- [7] = {Promote = true, Demote = true, MaxPromotion = 5, MaxDemotion = 3}, -- Can Promote to rank 5 and demote to rank 3
- [8] = {Promote = true, Demote = true}, -- Can promote to highest rank and demote to lowest
- }--]]
- -------------------------------------------
- -------------TEAM_SNIPSOLDAT---------------
- -------------------------------------------
- JobRanks[TEAM_SNIPSOLDAT] = {} --Each rank table REQUIRES this one to work, otherwise it will BREAK!
- JobRanks[TEAM_SNIPSOLDAT].MaxJobRank = 16 --Max rank achieveable
- JobRanks[TEAM_SNIPSOLDAT].ReqRanks = {-- XP/Playtime required for each rank -> [RANKID] = AmountRequired,
- [0] = 0,
- [2] = 3500, --THE VALUE MUST BE HIGHER IN EACH RANK THAN THE PREVIOUS RANK
- [3] = 5000,
- [4] = 6000,
- [5] = 12000,
- [6] = 20000,
- [7] = 30000,
- [8] = 45000,
- [9] = 50000,
- [10] = 55000,
- [11] = 60000,
- [12] = 65000,
- [13] = 75000,
- [14] = 90000,
- [15] = 100000,
- [16] = 110000,
- }
- JobRanks[TEAM_SNIPSOLDAT].NameRanks = { -- Names for each rank -> [RANKID] = "|Name"
- [0] = "|Специалист 1|",
- [1] = "|Специалист 2|",
- [2] = "|Специалист 3|",
- [3] = "|Капрал|",
- [4] = "|Сержант|",
- [5] = "|Штаб-Сержант|",
- [6] = "|Сержант Первого Класса|",
- [7] = "|Мастер Сержант|",
- [8] = "|Первый Сержант|",
- [9] = "|Сержант Майор|",
- [10] = "|Команд-Сержант-Майор|",
- [11] = "|Сержант-майор Сухопутных вйоск|",
- [12] = "|Лейтенант 3|",
- [13] = "|Капитан 1|",
- [14] = "|Капитан 2|",
- [15] = "|Капитан 3|",
- [16] = "|Командующий|",
- }
- JobRanks[TEAM_SNIPSOLDAT].BonusSalary = 35 --Extra salary bonus for EACH rank -> 15*RANK -> At rank 2 $30 extra salary, rank 3 $45 extra salary and so on
- --JobRanks[TEAM_SNIPSOLDAT].ExtraLoadout = {--Bonus Equipments for rank X and higher, [RANKID] = WEAPONCLASS
- --["weapon_pumpshotgun2"] = 5, --Rank 5 or higher spawns with shotgun
- --["weapon_mp52"] = 7,--Rank 7 or higher spawns with MP5
- --}
- --JobRanks[TEAM_SNIPSOLDAT].ExtraLoadoutSingleRank = {--Bonus Equipments for a SPECIFIC rank only, [RANKID] = {WEAPONCLASS}
- --[5] = {"weapon_pumpshotgun2"}, -- Gives a shotgun to rank 5 only
- --[7] = {"weapon_pumpshotgun2","weapon_mp52"} -- Gives a shotgun and mp5 to rank 7 only
- --}
- JobRanks[TEAM_SNIPSOLDAT].Model = { --Setup different models for each rank, leave it empty to keep default, if you want specific ranks to use default models dont add it in this table
- --[[
- If you just want one model, this structure is fine, otherwise to avoid confusion you should use the one below the first
- [RankID] = {{Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID}}
- [RankID] = {
- {Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID},
- {Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID}, <- this comma is super important, should be one between each one
- {Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID}
- }
- ]]
- --[1] = {{Model = "|models/player/police.mdl", Bodygroups = {{0,0},{2,1}}, Skin = 1}}, --Sets model, two custom bodygroups and skin to 1
- --Skipped rank 2, it will now set default model on rank 2
- --[3] = {{Model = "|models/player/police_fem.mdl", Bodygroups = nil, Skin = 3}}, --Sets model, no bodygroups, sets skin to 3
- --[4] = {{Model = nil, Bodygroups = nil, Skin = 2}}, --Sets default model, no bodygroups, sets skin to 2
- }
- JobRanks[TEAM_SNIPSOLDAT].PrefixSeparator = "| | " -- What separates the prefix from the name, for example if set to a space it would be Pvt ToBadForYou, if set to a . then Pvt.ToBadForYou etc
- JobRanks[TEAM_SNIPSOLDAT].Prefix = { --It's set infront of the name for example Pvt.ToBadForYou, Sgt.ToBadForYou -> [RANKID] = "|Prefix"
- [0] = "|Специалист 1|",
- [1] = "|Специалист 2|",
- [2] = "|Специалист 3|",
- [3] = "|Капрал|",
- [4] = "|Сержант|",
- [5] = "|Штаб-Сержант|",
- [6] = "|Сержант Первого Класса|",
- [7] = "|Мастер Сержант|",
- [8] = "|Первый Сержант|",
- [9] = "|Сержант Майор|",
- [10] = "|Команд-Сержант-Майор|",
- [11] = "|Сержант-майор Сухопутных вйоск|",
- [12] = "|Лейтенант 3|",
- [13] = "|Капитан 1|",
- [14] = "|Капитан 2|",
- [15] = "|Капитан 3|",
- [16] = "|Командующий|",
- }
- --JobRanks[TEAM_SNIPSOLDAT].Entities = { --Restrict specific entities to ranks -> [ENTCLASS] = RankRequired
- --["money_printer"] = 5, --Requires rank 5 in order to buy moneyprinter
- --}
- --JobRanks[TEAM_SNIPSOLDAT].Shipments = { --Restrict specific shipments to ranks -> [SHIPMENT] = RankRequired
- --["weapon_pumpshotgun2"] = 5, --Requires rank 5 in order to buy shotgun shipment
- --}
- JobRanks[TEAM_SNIPSOLDAT].Warrant = 5 --Allows warranting for rank it set to and higher, so Rank 5 and higher can warrant: SET TO NIL TO DISABLE WARRANT FOR ALL RANKS
- JobRanks[TEAM_SNIPSOLDAT].Wanted = 5--Allows wanted for rank it set to and higher, so Rank 5 and higher can wanted: SET TO NIL TO DISABLE WANTED FOR ALL RANKS
- //THESE ARE JUST TEMPLATES, download icons online and insert their path here (Also upload it on workshop or to your FastDL and add it to force download)
- --[[JobRanks[TEAM_SNIPSOLDAT].Icons = { --Setup Rank icons -> [RANKID] = Material("PATH TO PNG")
- [1] = Material("jobranks/police/rank1.png"),
- [2] = Material("jobranks/police/rank2.png"),
- [3] = Material("jobranks/police/rank3.png"),
- [4] = Material("jobranks/police/rank4.png"),
- [5] = Material("jobranks/police/rank5.png"),
- [6] = Material("jobranks/police/rank6.png"),
- [7] = Material("jobranks/police/rank7.png"),
- [8] = Material("jobranks/police/rank8.png"),
- }--]]
- JobRanks[TEAM_SNIPSOLDAT].BonusStats = { --Bonus stats for ranks -> [RankID] = {Health = AmountExtraHP, Armor = AmountExtraAP}
- [1] = {Health = 200, Armor = 200},
- [2] = {Health = 350, Armor = 350},
- [3] = {Health = 400, Armor = 400},
- [4] = {Health = 500, Armor = 500},
- [5] = {Health = 600, Armor = 600},
- [6] = {Health = 700, Armor = 700},
- [7] = {Health = 800, Armor = 800},
- [8] = {Health = 900, Armor = 900},
- [9] = {Health = 1000, Armor = 1000},
- [10] = {Health = 1100, Armor = 1100},
- [12] = {Health = 1200, Armor = 1200},
- [13] = {Health = 1300, Armor = 1300},
- [14] = {Health = 1400, Armor = 1400},
- }
- //Setting this to true will only allow progression through promotion manually by admin
- JobRanks[TEAM_SNIPSOLDAT].DisableProgression = false
- JobRanks[TEAM_SNIPSOLDAT].Entities = { --Restrict specific entities to ranks -> [ENTCLASS] = RankRequired
- ["cpk_kevlar_tactical"] = 3, --Requires rank 5 in order to buy moneyprinter
- ["cpk_kevlar_tactical"] = 1, --Requires rank 5 in order to buy moneyprinter
- }
- --------------------------------------
- ------------TEAM_KAPSPLDAT------------
- --------------------------------------
- JobRanks[TEAM_KAPSOLDAT] = {} --Each rank table REQUIRES this one to work, otherwise it will BREAK!
- JobRanks[TEAM_KAPSOLDAT].MaxJobRank = 8 --Max rank achieveable
- JobRanks[TEAM_KAPSOLDAT].ReqRanks = {-- XP/Playtime required for each rank -> [RANKID] = AmountRequired,
- [0] = 0,
- [2] = 55000, --THE VALUE MUST BE HIGHER IN EACH RANK THAN THE PREVIOUS RANK
- [3] = 60000,
- [4] = 70000,
- [5] = 130000,
- [6] = 240000,
- [7] = 350000,
- [8] = 450000,
- }
- JobRanks[TEAM_KAPSOLDAT].NameRanks = { -- Names for each rank -> [RANKID] = "|Name"
- [0] = "|Капитан 3|",
- [1] = "|Майор 1|",
- [2] = "|Майор 2|",
- [3] = "|Майор 3|",
- [4] = "|Подполковник 1|",
- [5] = "|Подполковник 2|",
- [6] = "|Подполковник 3|",
- [7] = "|Полковник|",
- [8] = "|Бригадный генерал|",
- }
- JobRanks[TEAM_KAPSOLDAT].BonusSalary = 60 --Extra salary bonus for EACH rank -> 15*RANK -> At rank 2 $30 extra salary, rank 3 $45 extra salary and so on
- --JobRanks[TEAM_KAPSOLDAT].ExtraLoadout = {--Bonus Equipments for rank X and higher, [RANKID] = WEAPONCLASS
- --["weapon_pumpshotgun2"] = 5, --Rank 5 or higher spawns with shotgun
- --["weapon_mp52"] = 7,--Rank 7 or higher spawns with MP5
- --}
- --JobRanks[TEAM_KAPSOLDAT].ExtraLoadoutSingleRank = {--Bonus Equipments for a SPECIFIC rank only, [RANKID] = {WEAPONCLASS}
- --[5] = {"weapon_pumpshotgun2"}, -- Gives a shotgun to rank 5 only
- --[7] = {"weapon_pumpshotgun2","weapon_mp52"} -- Gives a shotgun and mp5 to rank 7 only
- --}
- JobRanks[TEAM_KAPSOLDAT].Model = { --Setup different models for each rank, leave it empty to keep default, if you want specific ranks to use default models dont add it in this table
- --[[
- If you just want one model, this structure is fine, otherwise to avoid confusion you should use the one below the first
- [RankID] = {{Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID}}
- [RankID] = {
- {Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID},
- {Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID}, <- this comma is super important, should be one between each one
- {Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID}
- }
- ]]
- --[1] = {{Model = "|models/player/police.mdl", Bodygroups = {{0,0},{2,1}}, Skin = 1}}, --Sets model, two custom bodygroups and skin to 1
- --Skipped rank 2, it will now set default model on rank 2
- --[3] = {{Model = "|models/player/police_fem.mdl", Bodygroups = nil, Skin = 3}}, --Sets model, no bodygroups, sets skin to 3
- --[4] = {{Model = nil, Bodygroups = nil, Skin = 2}}, --Sets default model, no bodygroups, sets skin to 2
- }
- JobRanks[TEAM_KAPSOLDAT].PrefixSeparator = "| | " -- What separates the prefix from the name, for example if set to a space it would be Pvt ToBadForYou, if set to a . then Pvt.ToBadForYou etc
- JobRanks[TEAM_KAPSOLDAT].Prefix = { --It's set infront of the name for example Pvt.ToBadForYou, Sgt.ToBadForYou -> [RANKID] = "|Prefix"
- [0] = "|Капитан 3|",
- [1] = "|Майор 1|",
- [2] = "|Майор 2|",
- [3] = "|Майор 3|",
- [4] = "|Подполковник 1|",
- [5] = "|Подполковник 2|",
- [6] = "|Подполковник 3|",
- [7] = "|Полковник|",
- [8] = "|Бригадный генерал|",
- }
- --JobRanks[TEAM_KAPSOLDAT].Entities = { --Restrict specific entities to ranks -> [ENTCLASS] = RankRequired
- --["money_printer"] = 5, --Requires rank 5 in order to buy moneyprinter
- --}
- --JobRanks[TEAM_KAPSOLDAT].Shipments = { --Restrict specific shipments to ranks -> [SHIPMENT] = RankRequired
- --["weapon_pumpshotgun2"] = 5, --Requires rank 5 in order to buy shotgun shipment
- --}
- JobRanks[TEAM_KAPSOLDAT].Warrant = 5 --Allows warranting for rank it set to and higher, so Rank 5 and higher can warrant: SET TO NIL TO DISABLE WARRANT FOR ALL RANKS
- JobRanks[TEAM_KAPSOLDAT].Wanted = 5--Allows wanted for rank it set to and higher, so Rank 5 and higher can wanted: SET TO NIL TO DISABLE WANTED FOR ALL RANKS
- //THESE ARE JUST TEMPLATES, download icons online and insert their path here (Also upload it on workshop or to your FastDL and add it to force download)
- --[[JobRanks[TEAM_KAPSOLDAT].Icons = { --Setup Rank icons -> [RANKID] = Material("PATH TO PNG")
- [1] = Material("jobranks/police/rank1.png"),
- [2] = Material("jobranks/police/rank2.png"),
- [3] = Material("jobranks/police/rank3.png"),
- [4] = Material("jobranks/police/rank4.png"),
- [5] = Material("jobranks/police/rank5.png"),
- [6] = Material("jobranks/police/rank6.png"),
- [7] = Material("jobranks/police/rank7.png"),
- [8] = Material("jobranks/police/rank8.png"),
- }--]]
- JobRanks[TEAM_KAPSOLDAT].BonusStats = { --Bonus stats for ranks -> [RankID] = {Health = AmountExtraHP, Armor = AmountExtraAP}
- [1] = {Health = 200, Armor = 200},
- [2] = {Health = 350, Armor = 350},
- [3] = {Health = 400, Armor = 400},
- [4] = {Health = 500, Armor = 500},
- [5] = {Health = 600, Armor = 600},
- [6] = {Health = 700, Armor = 700},
- [7] = {Health = 800, Armor = 800},
- [8] = {Health = 900, Armor = 900},
- [9] = {Health = 1000, Armor = 1000},
- [10] = {Health = 1100, Armor = 1100},
- [12] = {Health = 1200, Armor = 1200},
- [13] = {Health = 1300, Armor = 1300},
- [14] = {Health = 1400, Armor = 1400},
- }
- //Setting this to true will only allow progression through promotion manually by admin
- JobRanks[TEAM_KAPSOLDAT].DisableProgression = false
- JobRanks[TEAM_KAPSOLDAT].Entities = { --Restrict specific entities to ranks -> [ENTCLASS] = RankRequired
- ["cpk_kevlar_tactical"] = 3, --Requires rank 5 in order to buy moneyprinter
- ["cpk_kevlar_tactical"] = 1, --Requires rank 5 in order to buy moneyprinter
- }
- --------------------------------------
- ------------TEAM_GENSOLDAT------------
- --------------------------------------
- JobRanks[TEAM_GENSOLDAT] = {} --Each rank table REQUIRES this one to work, otherwise it will BREAK!
- JobRanks[TEAM_GENSOLDAT].MaxJobRank = 9 --Max rank achieveable
- JobRanks[TEAM_GENSOLDAT].ReqRanks = {-- XP/Playtime required for each rank -> [RANKID] = AmountRequired,
- [0] = 0,
- [2] = 55000, --THE VALUE MUST BE HIGHER IN EACH RANK THAN THE PREVIOUS RANK
- [3] = 60000,
- [4] = 70000,
- [5] = 130000,
- [6] = 240000,
- [7] = 350000,
- [8] = 450000,
- [9] = 650000,
- }
- JobRanks[TEAM_GENSOLDAT].NameRanks = { -- Names for each rank -> [RANKID] = "|Name"
- [0] = "|Бригадный генерал 1|",
- [1] = "|Бригадный генерал 2|",
- [2] = "|Бригадный генерал 3|",
- [3] = "|Генерал-майор 1|",
- [4] = "|Генерал-майор 2|",
- [5] = "|Генерал-майор 3|",
- [6] = "|Генерал - лейтенант 1|",
- [7] = "|Генерал - лейтенант 2|",
- [8] = "|Генерал|",
- [9] = "|Главнокомандующий Армией США|",
- }
- JobRanks[TEAM_GENSOLDAT].BonusSalary = 170 --Extra salary bonus for EACH rank -> 15*RANK -> At rank 2 $30 extra salary, rank 3 $45 extra salary and so on
- --JobRanks[TEAM_GENSOLDAT].ExtraLoadout = {--Bonus Equipments for rank X and higher, [RANKID] = WEAPONCLASS
- --["weapon_pumpshotgun2"] = 5, --Rank 5 or higher spawns with shotgun
- --["weapon_mp52"] = 7,--Rank 7 or higher spawns with MP5
- --}
- --JobRanks[TEAM_GENSOLDAT].ExtraLoadoutSingleRank = {--Bonus Equipments for a SPECIFIC rank only, [RANKID] = {WEAPONCLASS}
- --[5] = {"weapon_pumpshotgun2"}, -- Gives a shotgun to rank 5 only
- --[7] = {"weapon_pumpshotgun2","weapon_mp52"} -- Gives a shotgun and mp5 to rank 7 only
- --}
- JobRanks[TEAM_GENSOLDAT].Model = { --Setup different models for each rank, leave it empty to keep default, if you want specific ranks to use default models dont add it in this table
- --[[
- If you just want one model, this structure is fine, otherwise to avoid confusion you should use the one below the first
- [RankID] = {{Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID}}
- [RankID] = {
- {Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID},
- {Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID}, <- this comma is super important, should be one between each one
- {Model = "|MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID}
- }
- ]]
- --[1] = {{Model = "|models/player/police.mdl", Bodygroups = {{0,0},{2,1}}, Skin = 1}}, --Sets model, two custom bodygroups and skin to 1
- --Skipped rank 2, it will now set default model on rank 2
- --[3] = {{Model = "|models/player/police_fem.mdl", Bodygroups = nil, Skin = 3}}, --Sets model, no bodygroups, sets skin to 3
- --[4] = {{Model = nil, Bodygroups = nil, Skin = 2}}, --Sets default model, no bodygroups, sets skin to 2
- }
- JobRanks[TEAM_GENSOLDAT].PrefixSeparator = "| | " -- What separates the prefix from the name, for example if set to a space it would be Pvt ToBadForYou, if set to a . then Pvt.ToBadForYou etc
- JobRanks[TEAM_GENSOLDAT].Prefix = { --It's set infront of the name for example Pvt.ToBadForYou, Sgt.ToBadForYou -> [RANKID] = "|Prefix"
- [0] = "|Бригадный генерал 1|",
- [1] = "|Бригадный генерал 2|",
- [2] = "|Бригадный генерал 3|",
- [3] = "|Генерал-майор 1|",
- [4] = "|Генерал-майор 2|",
- [5] = "|Генерал-майор 3|",
- [6] = "|Генерал - лейтенант 1|",
- [7] = "|Генерал - лейтенант 2|",
- [8] = "|Генерал|",
- [9] = "|Главнокомандующий армией США|",
- }
- --JobRanks[TEAM_GENSOLDAT].Entities = { --Restrict specific entities to ranks -> [ENTCLASS] = RankRequired
- --["money_printer"] = 5, --Requires rank 5 in order to buy moneyprinter
- --}
- --JobRanks[TEAM_GENSOLDAT].Shipments = { --Restrict specific shipments to ranks -> [SHIPMENT] = RankRequired
- --["weapon_pumpshotgun2"] = 5, --Requires rank 5 in order to buy shotgun shipment
- --}
- JobRanks[TEAM_GENSOLDAT].Warrant = 5 --Allows warranting for rank it set to and higher, so Rank 5 and higher can warrant: SET TO NIL TO DISABLE WARRANT FOR ALL RANKS
- JobRanks[TEAM_GENSOLDAT].Wanted = 5--Allows wanted for rank it set to and higher, so Rank 5 and higher can wanted: SET TO NIL TO DISABLE WANTED FOR ALL RANKS
- //THESE ARE JUST TEMPLATES, download icons online and insert their path here (Also upload it on workshop or to your FastDL and add it to force download)
- --[[JobRanks[TEAM_GENSOLDAT].Icons = { --Setup Rank icons -> [RANKID] = Material("PATH TO PNG")
- [1] = Material("jobranks/police/rank1.png"),
- [2] = Material("jobranks/police/rank2.png"),
- [3] = Material("jobranks/police/rank3.png"),
- [4] = Material("jobranks/police/rank4.png"),
- [5] = Material("jobranks/police/rank5.png"),
- [6] = Material("jobranks/police/rank6.png"),
- [7] = Material("jobranks/police/rank7.png"),
- [8] = Material("jobranks/police/rank8.png"),
- }--]]
- JobRanks[TEAM_GENSOLDAT].BonusStats = { --Bonus stats for ranks -> [RankID] = {Health = AmountExtraHP, Armor = AmountExtraAP}
- [1] = {Health = 200, Armor = 200},
- [2] = {Health = 350, Armor = 350},
- [3] = {Health = 400, Armor = 400},
- [4] = {Health = 500, Armor = 500},
- [5] = {Health = 600, Armor = 600},
- [6] = {Health = 700, Armor = 700},
- [7] = {Health = 800, Armor = 800},
- [8] = {Health = 900, Armor = 900},
- [9] = {Health = 1000, Armor = 1000},
- [10] = {Health = 1100, Armor = 1100},
- [12] = {Health = 1200, Armor = 1200},
- [13] = {Health = 1300, Armor = 1300},
- [14] = {Health = 1400, Armor = 1400},
- }
- //Setting this to true will only allow progression through promotion manually by admin
- JobRanks[TEAM_GENSOLDAT].DisableProgression = false
- JobRanks[TEAM_GENSOLDAT].Entities = { --Restrict specific entities to ranks -> [ENTCLASS] = RankRequired
- ["cpk_kevlar_tactical"] = 3, --Requires rank 5 in order to buy moneyprinter
- ["cpk_kevlar_tactical"] = 1, --Requires rank 5 in order to buy moneyprinter
- }
- -------------------------------------------
- -----------TEAM_911------------------
- -------------------------------------------
- JobRanks[TEAM_911] = {}
- JobRanks[TEAM_911].MaxJobRank = 9
- JobRanks[TEAM_911].ReqRanks = {
- [1] = 0,
- [2] = 1500, --THE VALUE MUST BE HIGHER IN EACH RANK THAN THE PREVIOUS RANK
- [3] = 3000,
- [4] = 6000,
- [5] = 12000,
- [6] = 20000,
- [7] = 30000,
- [8] = 45000,
- [9] = 50000,
- }
- JobRanks[TEAM_911].NameRanks = {
- [1] = "|Новичок|",
- [2] = "|Младший оператор|",
- [3] = "|Оператор|",
- [4] = "|Переговорщик 1|",
- [5] = "|Переговорщик 2|",
- [6] = "|Переговорщик 3|",
- [7] = "|Диспетчер 1|",
- [8] = "|Диспетчер 2|",
- [9] = "|Глава Отдела 911|",
- }
- JobRanks[TEAM_911].BonusSalary = 90
- JobRanks[TEAM_911].ExtraLoadout = {}
- JobRanks[TEAM_911].ExtraLoadoutSingleRank = {}
- JobRanks[TEAM_911].Model = {}
- JobRanks[TEAM_911].PrefixSeparator = " "
- JobRanks[TEAM_911].Prefix = {
- --[1] = "|Сержант 2|", -- Sergeant rank 2
- [1] = "|Новичок|", -- Detective (TEAM_911)
- [2] = "|Младший оператор|", -- Detective rank 2
- [3] = "|Оператор|", -- Detective rank 3
- [4] = "|Переговорщик 1|", -- Leutinant rank 1 (TEAM_FBI, TEAM_SWAT, TEAM_POLICE)
- [5] = "|Переговорщик 2|", -- Leutinant rank 2 (same as rank 1)
- [6] = "|Переговорщик 3|", -- Leutinant rank 3 (same as rank 1)
- [7] = "|Диспетчер 1|", -- Captain rank 1 (TEAM_POLICE, TEAM_911, TEAM_SWAT, TEAM_FBI)
- [8] = "|Диспетчер 2|", -- Captain rank 2 same as rank 1
- [9] = "|Глава Отдела 911|", -- Captain rank 3 same as rank 1
- }
- JobRanks[TEAM_911].Entities = { --Restrict specific entities to ranks -> [ENTCLASS] = RankRequired
- ["cpk_kevlar_tactical"] = 3, --Requires rank 5 in order to buy moneyprinter
- ["cpk_kevlar_tactical"] = 3, --Requires rank 5 in order to buy moneyprinter
- }
- JobRanks[TEAM_911].Shipments = { --Restrict specific shipments to ranks -> [SHIPMENT] = RankRequired
- ["weapon_policeshield"] = 9, --Requires rank 5 in order to buy shotgun shipment
- ["m9k_m416"] = 9, --Requires rank 5 in order to buy shotgun shipment
- }
- JobRanks[TEAM_911].Warrant = 1
- JobRanks[TEAM_911].Wanted = 1
- JobRanks[TEAM_911].Permissions = {}
- --[[JobRanks[TEAM_911].Icons = { --Setup Rank icons -> [RANKID] = Material("PATH TO PNG")
- --[1] = Material("materials/police_ranks/3-10.png"),
- [1] = Material("materials/police_ranks/3-11.png"),
- [2] = Material("materials/police_ranks/3-12.png"),
- [3] = Material("materials/police_ranks/3-13.png"),
- [4] = Material("materials/police_ranks/3-14.png"),
- [5] = Material("materials/police_ranks/3-15.png"),
- [6] = Material("materials/police_ranks/3-16.png"),
- [7] = Material("materials/police_ranks/4-18.png"),
- [8] = Material("materials/police_ranks/4-19.png"),
- [9] = Material("materials/police_ranks/4-20.png"),
- }]]--
- -------------------------------------------
- -------------TEAM_END----------------------
- -------------------------------------------
- -------------------------------------------
- -----------TEAM_USSS------------------------
- -------------------------------------------
- JobRanks[TEAM_USSS] = {}
- JobRanks[TEAM_USSS].MaxJobRank = 11
- JobRanks[TEAM_USSS].ReqRanks = {
- [1] = 0,
- [2] = 15000, --THE VALUE MUST BE HIGHER IN EACH RANK THAN THE PREVIOUS RANK
- [3] = 30000,
- [4] = 60000,
- [5] = 120000,
- [6] = 200000,
- [7] = 300000,
- [8] = 450000,
- [9] = 500000,
- [10] = 550000,
- [11] = 600000,
- }
- JobRanks[TEAM_USSS].NameRanks = {
- [1] = "|Новобранец|",
- [2] = "|Отдел по фальш Деньгам|",
- [3] = "|Отдел по фальш документам|",
- [4] = "|Отдел по наркотрафику|",
- [5] = "|Отдел ликвидации|",
- [6] = "|Агент РАНГ 1|",
- [7] = "|Агент РАНГ 2|",
- [8] = "|Агент РАНГ 3|",
- [9] = "|Зам охраны Президента|",
- [10] = "|Начальник охраны Президента|",
- [11] = "|Начальник USSS|",
- }
- JobRanks[TEAM_USSS].BonusStats = { --Bonus stats for ranks -> [RankID] = {Health = AmountExtraHP, Armor = AmountExtraAP}
- [1] = {Health = 90, Armor = 200},
- [2] = {Health = 200, Armor = 300},
- [3] = {Health = 250, Armor = 350},
- [4] = {Health = 300, Armor = 400},
- [5] = {Health = 350, Armor = 450},
- [6] = {Health = 400, Armor = 500},
- [7] = {Health = 450, Armor = 550},
- [8] = {Health = 500, Armor = 600},
- [9] = {Health = 550, Armor = 650},
- [10] = {Health = 600, Armor = 700},
- [12] = {Health = 650, Armor = 750},
- [13] = {Health = 700, Armor = 800},
- [14] = {Health = 800, Armor = 900},
- }
- JobRanks[TEAM_USSS].BonusSalary = 100
- JobRanks[TEAM_USSS].ExtraLoadout = {}
- JobRanks[TEAM_USSS].ExtraLoadoutSingleRank = {}
- JobRanks[TEAM_USSS].Model = {}
- JobRanks[TEAM_USSS].PrefixSeparator = " "
- JobRanks[TEAM_USSS].Prefix = {
- [1] = "|Новобранец|",
- [2] = "|Отдел по фальш Деньгам|",
- [3] = "|Отдел по фальш документам|",
- [4] = "|Отдел по наркотрафику|",
- [5] = "|Отдел ликвидации|",
- [6] = "|Агент РАНГ 1|",
- [7] = "|Агент РАНГ 2|",
- [8] = "|Агент РАНГ 3|",
- [9] = "|Зам охраны Президента|",
- [10] = "|Начальник охраны Президента|",
- [11] = "|Начальник Секретной Службы США|",
- }
- JobRanks[TEAM_USSS].Entities = { --Restrict specific entities to ranks -> [ENTCLASS] = RankRequired
- ["cpk_kevlar_tactical"] = 2, --Requires rank 5 in order to buy moneyprinter
- ["cpk_kevlar_tactical"] = 2, --Requires rank 5 in order to buy moneyprinter
- }
- JobRanks[TEAM_USSS].Shipments = { --Restrict specific shipments to ranks -> [SHIPMENT] = RankRequired
- ["weapon_policeshield"] = 2, --Requires rank 5 in order to buy shotgun shipment
- ["m9k_m416"] = 2, --Requires rank 5 in order to buy shotgun shipment
- }
- JobRanks[TEAM_USSS].Warrant = 1
- JobRanks[TEAM_USSS].Wanted = 1
- JobRanks[TEAM_USSS].Permissions = {}
- JobRanks[TEAM_USSS].Icons = { --Setup Rank icons -> [RANKID] = Material("PATH TO PNG")
- [1] = Material("materials/police_ranks/1-10.png"),
- [2] = Material("materials/police_ranks/1-11.png"),
- [3] = Material("materials/police_ranks/2-12.png"),
- [4] = Material("materials/police_ranks/3-13.png"),
- [5] = Material("materials/police_ranks/3-14.png"),
- [6] = Material("materials/police_ranks/3-15.png"),
- [7] = Material("materials/police_ranks/3-16.png"),
- [8] = Material("materials/police_ranks/3-18.png"),
- [9] = Material("materials/police_ranks/3-19.png"),
- [10] = Material("materials/police_ranks/4-20.png"),
- [11] = Material("materials/police_ranks/4-21.png"),
- }
- -------------------------------------------
- -----------TEAM_USSS-END-------------------
- -------------------------------------------
- --------------------------------------
- ------------TEAM_MEDIC----------------
- --------------------------------------
- JobRanks[TEAM_MEDIC] = {}
- JobRanks[TEAM_MEDIC].MaxJobRank = 9
- JobRanks[TEAM_MEDIC].ReqRanks = {
- [1] = 0,
- [2] = 15000,
- [3] = 30000,
- [4] = 60000,
- [5] = 120000,
- [6] = 200000,
- [7] = 300000,
- [8] = 450000,
- [9] = 600000,
- }
- JobRanks[TEAM_MEDIC].NameRanks = {
- [1] = "|Медик ученик|",
- [2] = "|Врач|",
- [3] = "|Врач-Ученый|",
- [4] = "|Младший Доктор|",
- [5] = "|Доктор|",
- [6] = "|Хирург|",
- [7] = "|Мозгоправ|",
- [8] = "|Шеф Психлечебницы|",
- [9] = "|Заведующий Больницей|",
- }
- JobRanks[TEAM_MEDIC].BonusSalary = 80
- JobRanks[TEAM_MEDIC].ExtraLoadout = {}
- JobRanks[TEAM_MEDIC].ExtraLoadoutSingleRank = {}
- JobRanks[TEAM_MEDIC].Model = {}
- JobRanks[TEAM_MEDIC].PrefixSeparator = " "
- JobRanks[TEAM_MEDIC].Prefix = {}
- JobRanks[TEAM_MEDIC].Entities = {}
- JobRanks[TEAM_MEDIC].Shipments = {}
- JobRanks[TEAM_MEDIC].Warrant = nil
- JobRanks[TEAM_MEDIC].Wanted = nil
- JobRanks[TEAM_MEDIC].Permissions = {}
- --------------------------------------
- ------------TEAM_PRISONER----------------
- --------------------------------------
- JobRanks[TEAM_PRISONER] = {}
- JobRanks[TEAM_PRISONER].MaxJobRank = 9
- JobRanks[TEAM_PRISONER].ReqRanks = {
- [1] = 0,
- [2] = 1500,
- [3] = 3000,
- [4] = 6000,
- [5] = 12000,
- [6] = 20000,
- [7] = 30000,
- [8] = 45000,
- [9] = 60000,
- }
- JobRanks[TEAM_PRISONER].NameRanks = {
- [1] = "|Я этого не делал!|",
- [2] = "|Опущеный|",
- [3] = "|Парашник|",
- [4] = "|Питух|",
- [5] = "|Шестерка|",
- [6] = "|Шнырь|",
- [7] = "|Мужик|",
- [8] = "|Блатной|",
- [9] = "|Пахан|",
- }
- --[[JobRanks[TEAM_PRISONER].NameRanks = {
- [1] = "|Я этого не делал!|",
- [2] = "|Опущеный|",
- [3] = "|Парашник|",
- [4] = "|Питух|",
- [5] = "|Шестерка|",
- [6] = "|Шнырь|",
- [7] = "|Мужик|",
- [8] = "|Блатной|",
- [9] = "|Пахан|",
- }]]
- JobRanks[TEAM_PRISONER].BonusSalary = 0
- JobRanks[TEAM_PRISONER].ExtraLoadout = {}
- JobRanks[TEAM_PRISONER].ExtraLoadoutSingleRank = {}
- JobRanks[TEAM_PRISONER].Model = {}
- JobRanks[TEAM_PRISONER].PrefixSeparator = " "
- JobRanks[TEAM_PRISONER].Prefix = {}
- --[[JobRanks[TEAM_PRISONER].Prefix = {
- [1] = "|Я этого не делал!|",
- [2] = "|Опущеный|",
- [3] = "|Парашник|",
- [4] = "|Питух|",
- [5] = "|Шестерка|",
- [6] = "|Шнырь|",
- [7] = "|Мужик|",
- [8] = "|Блатной|",
- [9] = "|Пахан|",
- }--]]
- JobRanks[TEAM_PRISONER].Entities = {}
- JobRanks[TEAM_PRISONER].Shipments = {}
- JobRanks[TEAM_PRISONER].Warrant = nil
- JobRanks[TEAM_PRISONER].Wanted = nil
- JobRanks[TEAM_PRISONER].Permissions = {}
- --------------------------------------------------
- --------------------------------------------------
- --------------------------------------------------
- JobRanks[TEAM_MAYOR] = {}
- JobRanks[TEAM_MAYOR].MaxJobRank = 7
- JobRanks[TEAM_MAYOR].ReqRanks = {
- [1] = 0,
- [2] = 50000,
- [3] = 100000,
- [4] = 150000,
- [5] = 200000,
- [6] = 250000,
- [7] = 300000,
- }
- JobRanks[TEAM_MAYOR].NameRanks = {
- [1] = "|Кандидат|",
- [2] = "|политик|",
- [3] = "|Вице спикер|",
- [4] = "|Мэр|",
- [5] = "|Вице Президент|",
- [6] = "|Президент|",
- [7] = "|Лучший Президент|",
- }
- JobRanks[TEAM_MAYOR].BonusSalary = 100
- JobRanks[TEAM_MAYOR].ExtraLoadout = {}
- JobRanks[TEAM_MAYOR].ExtraLoadoutSingleRank = {}
- JobRanks[TEAM_MAYOR].Model = {}
- JobRanks[TEAM_MAYOR].PrefixSeparator = " "
- JobRanks[TEAM_MAYOR].Prefix = {}
- JobRanks[TEAM_MAYOR].Entities = {}
- JobRanks[TEAM_MAYOR].Shipments = {}
- JobRanks[TEAM_MAYOR].Warrant = 1
- JobRanks[TEAM_MAYOR].Wanted = 1
- JobRanks[TEAM_MAYOR].Permissions = {}
- end)
- end
- hook.Add("DarkRPFinishedLoading", "JBR_InitRanks", function()
- if ezJobs then
- hook.Add("ezJobsLoaded", "JBR_InitRanks", JBR_InitRanks)
- else
- hook.Add("loadCustomDarkRPItems", "JBR_InitRanks", JBR_InitRanks)
- end
- end)
Add Comment
Please, Sign In to add comment