Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- TO "TRANSFER" THE OLD DATA USE:
- jobranks_jobs in your ingame console,
- It will print all jobnames and IDs, simply use the ID as the jobranks ID Identifier and it will use the old data
- For example:
- Jobname: Citizen, ID: 1
- Jobname: Civil Protection, ID: 2
- Jobname: Gangster, ID: 3
- Jobname: Mob boss, ID: 4
- Jobname: Gun Dealer, ID: 5
- Jobname: Medic, ID: 6
- Jobname: Civil Protection Chief, ID: 7
- Jobname: Mayor, ID: 8
- Jobname: Hobo, ID: 9
- If you want to use old CP data for the new structure simply put:
- Old:
- JBR_SetupRankTable(TEAM_POLICE, 8, 15, ".", 5, 5, false)
- New:
- JBR_SetupRankTable(2, 8, 15, ".", 5, 5, false)
- And then you also have to add:
- JBR_AddJobToRankTable(TEAM_POLICE, 2)
- This way you can make multiply jobs use same jobrank table and progression
- Multiply jobs can now use the same jobrank table
- No longer depends on TEAM IDs, hence adding new jobs will not make it load incorrect data (Data "loss" fix)
- Now automaticly adjusts reqranks if setup improperly
- Config changes:
- Added JBR_AddJobToRankTable(JOB, JOBRANKTABLE_ID)
- Added .JobsRankTables
- ]]
- JobRanksConfig = JobRanksConfig or {}
- //Use MySQL or not, edit database in sv_mysql.lua
- JobRanksConfig.MYSQLOO = false
- //Who can access admin commands etc
- JobRanksConfig.AdminAccessCustomCheck = function(Player)
- if Player:IsAdmin() then
- return true
- else
- return false
- end
- end
- //How often should it update and save?
- JobRanksConfig.UpdateTimer = 30
- //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 = false
- //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-100, 0 is as much left as it can and 100 is as much right as it can
- JobRanksConfig.UIW = 100
- //Defined 0-100, 0 is as much up as it can and 100 is as much down as it can
- JobRanksConfig.UIH = 0
- --[[
- bar = a bar for progress
- time = text for time left
- number = numbers only
- ]]
- JobRanksConfig.HUDType = "number"
- --[[
- 1 = Displays: Job
- 2 = Displays: Jobrank
- 3 = Displays: Job (JobRank)
- ]]
- JobRanksConfig.ShowJobType = 3
- JobRanksConfig.UIBoxColor = Color(100,100,100,200)
- JobRanksConfig.UIOutlineColor = Color(200, 200, 200, 200)
- JobRanksConfig.UITextColor = Color(255,255,255,200)
- JobRanksConfig.BarBackground = Color(0,0,0,255)
- JobRanksConfig.Bar = Color(0,200,0,255)
- JobRanks = JobRanks or {}
- JobRanksConfig.JobJoinRestrictments = JobRanksConfig.JobJoinRestrictments or {}
- JobRanksConfig.JobPermissionList = JobRanksConfig.JobPermissionList or {}
- JobRanksConfig.JobsRankTables = JobRanksConfig.JobsRankTables or {}
- local function JBR_InitRanks()
- timer.Simple(3, function()
- --[[
- JBR_SetupRestrictedJob(Job, RequiredJobs)
- Job - The job to be restricted
- RequiredJobs - Table of the ranks you must reach in that specific job {[Job] = RequiredRank, [Job2] = RequiredRank} etc
- ]]
- JBR_SetupRestrictedJob(TEAM_CHIEF, {[TEAM_POLICE] = 8})
- --[[
- JBR_SetupJobPermissionList(Job, AllowedJobs)
- Job - Job that is allowed to promote/demote
- AllowedJobs - The jobs the job is allowed to promote/demote {[Job] = true, [Job2] = true} etc
- ]]
- JBR_SetupJobPermissionList(TEAM_POLICE, {[TEAM_POLICE] = true})
- --[[
- JBR_SetupRankTable(Job, MaxRank, BonusSalary, PrefixSeparator, Warrant, Wanted, DisableProgression)
- JobRankTable ID - Unique identifier, this is what you setup in: JBR_AddJobToRankTable(JOB, JOBRANKTABLE_ID), for example JBR_AddJobToRankTable(TEAM_POLICE, 1) would make TEAM_POLICE use jobranktable 1
- MaxRank - Maximum rank achieveable
- BonusSalary - Bonus salary for each rank, so Amount*Rank, if bonus is set to 15 and you are rank 3 you would recieve 45$ extra
- PrefixSeparator - What should be between Prefix and Name, for example . would be Pvt.ToBadForYou or _ would be Pvt_ToBadForYou
- Warrant - Rank required to warrant, set to nil to disable
- Wanted - Rank required to Wanted, set to nil to disable
- DisableProgression - true or false, true will not allow the player to progress through playtime only through manual promotions
- ]]
- JBR_SetupRankTable(1, 8, 15, ".", 5, 5, false)-- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- --[[
- JBR_SetupRank(RankID, TimeRequired, Name, Prefix, Permissions, ExtraStats, Loadout, Icon)
- RankID - RankID should start from 1
- TimeRequired - First rank MUST always have 0, other ranks must be above the previous one. It counts the difference between OLD and NEW rank
- Name - Rank name
- Prefix - Prefix before players name
- Permissions
- ----------------------------------------------------
- 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
- ----------------------------------------------------
- ExtraStats - Extra stats (speaks for itself)
- Loadout - Extraloadout for this SPECIFIC rank
- Icon - Icon path for this ranks icon
- ]]
- //THE ICONS 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)
- JBR_SetupRank(1, 0, "Recruit", "Rct", {Promote = false, Demote = false}, {Health = 5, Armor = 5}, {}, Material("jobranks/police/rank1.png"))
- JBR_SetupRank(2, 0, "Deputy", "Dpt", {Promote = false, Demote = false}, {Health = 10, Armor = 10}, {}, Material("jobranks/police/rank2.png"))
- JBR_SetupRank(3, 3000, "Detective", "Det", {Promote = false, Demote = false}, {Health = 15, Armor = 15}, {}, Material("jobranks/police/rank3.png"))
- JBR_SetupRank(4, 6000, "Sergeant", "Sgt", {Promote = false, Demote = false}, {Health = 20, Armor = 20}, {}, Material("jobranks/police/rank4.png"))
- JBR_SetupRank(5, 12000, "Lieutenant", "Lt", {Promote = false, Demote = true, MaxDemotion = 4}, {Health = 25, Armor = 25}, {"weapon_pumpshotgun2"}, Material("jobranks/police/rank5.png"))
- JBR_SetupRank(6, 20000, "Captain", "Cpt", {Promote = true, Demote = false, MaxPromotion = 5}, {Health = 30, Armor = 30}, {}, Material("jobranks/police/rank6.png"))
- JBR_SetupRank(7, 30000, "Major", "Maj", {Promote = true, Demote = true, MaxPromotion = 5, MaxDemotion = 3}, {Health = 35, Armor = 35}, {"weapon_mp52"}, Material("jobranks/police/rank7.png"))
- JBR_SetupRank(8, 45000, "Inspector", "Insp", {Promote = true, Demote = true}, {Health = 40, Armor = 40}, {}, Material("jobranks/police/rank8.png"))
- --[[
- RankID - Rank to setup for, set to false if for all ranks
- Function - Custom lua function
- NOTE: ONLY SETUP CUSTOM LUA FUNCTION IF YOU KNOW WHAT YOU ARE DOING
- ]]
- JBR_SetupRankSpawnFunc(false, function(Player) print(Player, "all ranks") end) -- This custom lua function will run for ALL ranks upon SPAWN
- JBR_SetupRankSpawnFunc(1, function(Player) print(Player, "rank 1") end) -- This custom lua function will run for ONLY RANK 1 upon SPAWN
- --[[
- JBR_SetupRankModel(RankID, ModelTbl)
- RankID - Rank to setup for
- ModelTbl - Model information, {{Model = "MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID}}
- ]]
- JBR_SetupRankModel(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
- JBR_SetupRankModel(3, {{Model = "models/player/police.mdl", Bodygroups = {{0,0},{2,1}}, Skin = 1},{Model = "models/player/police_fem.mdl", Bodygroups = nil, Skin = 3}}) -- EXAMPLE OF MULTIPLY MODELS FOR ONE RANK
- JBR_SetupRankModel(4, {{Model = "models/player/police_fem.mdl", Bodygroups = nil, Skin = 3}})--Sets model, no bodygroups, sets skin to 3
- JBR_SetupRankModel(5, {{Model = nil, Bodygroups = nil, Skin = 2}})--Sets default model, no bodygroups, sets skin to 2
- --[[
- JBR_AddLoadout(RankID, Weapons)
- RankID - RankID
- Weapons - List of weapons
- This adds the loadout to this rank AND all ranks ABOVE this rank
- ]]
- JBR_AddLoadout(5, {"weapon_pumpshotgun2"})
- JBR_AddLoadout(7, {"weapon_mp52"})
- --[[
- JBR_AddEntity(RankID, Entities)
- RankID - RankID required to buy the entities
- Entities - List of entities
- This will allow the input rank and all ABOVE this rank to purchase these entities
- ]]
- JBR_AddEntity(5, {"money_printer"})
- --[[
- JBR_AddShipment(RankID, Shipments)
- RankID - RankID required to buy the shipments
- Shipments - List of shipments
- This will allow the input rank and all ABOVE this rank to purchase these shipments
- ]]
- JBR_AddShipment(5, {"weapon_pumpshotgun2"})
- JBR_SetupRankTable(1, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Schutze", "5th SS SCHTZ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "OberSchutze", "5th SS OBSCHTZ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Strumman", "5th SS STMN", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Rottenfuhrer", "5th SS RTFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Unterscharfuhrer", "5th SS USF", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Unteroffizier", "5th SS UOZR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Scharfuhrer", "5th SS SFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "Oberscharfuhrer", "5th SS OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Hauptscharfuhrer", "5th SS HPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "Sturmscharfuhrer", "5th SS STFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "Untersturmfuhrer", "5th SS USFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Obersturmfuhrer", "5th SS OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Hauptsturmfuhrer", "5th SS HPTSFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Sturmbannfuhrer", "5th SS SBFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 37000000000, "Obersturmbannfuhrer", "5th SS OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(16, 38000000000, "Standartenfuhrer", "5th SS STDFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(17, 39000000000, "Oberfuhrer", "5th SS OBFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(2, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Schutze", "5th SS MD SCHTZ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "OberSchutze", "5th SS MD OBSCHTZ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Strumman", "5th SS MD STMN", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Rottenfuhrer", "5th SS MD RTFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Unterscharfuhrer", "5th SS MD USF", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Unteroffizier", "5th SS MD UOZR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Scharfuhrer", "5th SS MD SFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "Oberscharfuhrer", "5th SS MD OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Hauptscharfuhrer", "5th SS MD HPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "Sturmscharfuhrer", "5th SS MD STFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "Untersturmfuhrer", "5th SS MD USFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Obersturmfuhrer", "5th SS MD OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Hauptsturmfuhrer", "5th SS MD HPTSFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Sturmbannfuhrer", "5th SS MD SBFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 37000000000, "Obersturmbannfuhrer", "5th SS MD OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(16, 38000000000, "Standartenfuhrer", "5th SS MD STDFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(17, 39000000000, "Oberfuhrer", "5th SS MD OBFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(3, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Schutze", "5th SS PS SCHTZ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "OberSchutze", "5th SS PS OBSCHTZ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Strumman", "5th SS PS STMN", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Rottenfuhrer", "5th SS PS RTFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Unterscharfuhrer", "5th SS PS USF", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Unteroffizier", "5th SS PS UOZR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Scharfuhrer", "5th SS PS SFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "Oberscharfuhrer", "5th SS PS OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Hauptscharfuhrer", "5th SS PS HPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "Sturmscharfuhrer", "5th SS PS STFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "Untersturmfuhrer", "5th SS PS USFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Obersturmfuhrer", "5th SS PS OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Hauptsturmfuhrer", "5th SS PS HPTSFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Sturmbannfuhrer", "5th SS PS SBFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 37000000000, "Obersturmbannfuhrer", "5th SS PS OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(16, 38000000000, "Standartenfuhrer", "5th SS PS STDFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(17, 39000000000, "Oberfuhrer", "5th SS OBFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(4, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Schutze", "5th SS AT SCHTZ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "OberSchutze", "5th SS AT OBSCHTZ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Strumman", "5th SS AT STMN", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Rottenfuhrer", "5th SS AT RTFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Unterscharfuhrer", "5th SS AT USF", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Unteroffizier", "5th SS AT UOZR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Scharfuhrer", "5th SS AT SFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "Oberscharfuhrer", "5th SS AT OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Hauptscharfuhrer", "5th SS AT HPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "Sturmscharfuhrer", "5th SS AT STFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "Untersturmfuhrer", "5th SS AT USFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Obersturmfuhrer", "5th SS AT OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Hauptsturmfuhrer", "5th SS AT HPTSFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Sturmbannfuhrer", "5th SS AT SBFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 37000000000, "Obersturmbannfuhrer", "5th SS AT OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(16, 38000000000, "Standartenfuhrer", "5th SS AT STDFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(17, 39000000000, "Oberfuhrer", "5th SS AT OBFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(5, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Grenadier", "352nd ID AT GDR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "Obergrenadier", "352nd ID AT OGR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Gefreiter", "352nd ID AT GFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Obergefreiter", "352nd ID AT OFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Stabsgefreiter", "352nd ID AT SGR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Unteroffizier", "352nd ID AT UOZR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Unterfeldwebel", "352nd ID AT UFWL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "Feldwebel", "352nd ID AT FWL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Oberfeldwebel", "352nd ID AT OFL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "Stabsfeldwebel", "352nd ID AT STL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "Leutnant", "352nd ID AT LT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Oberleutnant", "352nd ID AT OBLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Hauptmann", "352nd ID AT HPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Major", "352nd ID AT MAJ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 37000000000, "Oberstleutnant", "352nd ID AT OBLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(16, 38000000000, "Oberst", "352nd ID AT OBST", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(6, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Grenadier", "352nd ID MD GDR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "Obergrenadier", "352nd ID MD OGR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Gefreiter", "352nd ID MD GFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Obergefreiter", "352nd ID MD OFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Stabsgefreiter", "352nd ID MD SGR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Unteroffizier", "352nd ID MD UOZR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Unterfeldwebel", "352nd ID MD UFWL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "Feldwebel", "352nd ID MD FWL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Oberfeldwebel", "352nd ID MD OFL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "Stabsfeldwebel", "352nd ID MD STL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "Leutnant", "352nd ID MD LT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Oberleutnant", "352nd ID MD OBLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Hauptmann", "352nd ID MD HPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Major", "352nd ID MD MAJ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 37000000000, "Oberstleutnant", "352nd ID AT OBLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(16, 38000000000, "Oberst", "352nd ID AT OBST", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(21, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Private", "6th ID MD PTE", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "Lance Corporal", "6th ID MD LCPL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Corporal", "6th ID MD CPL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Sergeant", "6th ID MD SGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Colour Sergeant", "6th ID MD CSGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Platoon Sergeant Major", "6th ID MD PSM", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Company Sergeant Major", "6th ID MD CSM", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "Regimental Sergeant Major", "6th ID MD RSM", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Second Lieutenant", "6th ID MD SLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "First Lieutenant", "6th ID MD FLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "Captain", "6th ID MD CPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Major", "6th ID MD MAJ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Lieutenant Colonel ", "6th ID MD LTCOL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Colonel", "6th ID MD COL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(20, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Private", "6th ID MD PTE", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "Lance Corporal", "6th ID MD LCPL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Corporal", "6th ID MD CPL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Sergeant", "6th ID MD SGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Colour Sergeant", "6th ID MD CSGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Platoon Sergeant Major", "6th ID MD PSM", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Company Sergeant Major", "6th ID MD CSM", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "Regimental Sergeant Major", "6th ID MD RSM", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Second Lieutenant", "6th ID MD SLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "First Lieutenant", "6th ID MD FLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "Captain", "6th ID MD CPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Major", "6th ID MD MAJ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Lieutenant Colonel ", "6th ID MD LTCOL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Colonel", "6th ID MD COL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(19, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Private", "6th ID TK PTE", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "Lance Corporal", "6th ID TK LCPL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Corporal", "6th ID TK CPL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Sergeant", "6th ID TK SGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Colour Sergeant", "6th ID TK CSGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Platoon Sergeant Major", "6th ID TK PSM", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Company Sergeant Major", "6th ID TK CSM", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "Regimental Sergeant Major", "6th ID TK RSM", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Second Lieutenant", "6th ID TK SLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "First Lieutenant", "6th ID TK FLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "Captain", "6th ID TK CPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Major", "6th ID TK MAJ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Lieutenant Colonel ", "6th ID TK LTCOL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Colonel", "6th ID TK COL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(18, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Private", "6th ID AT PTE", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "Lance Corporal", "6th ID AT LCPL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Corporal", "6th ID AT CPL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Sergeant", "6th ID AT SGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Colour Sergeant", "6th ID AT CSGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Platoon Sergeant Major", "6th ID AT PSM", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Company Sergeant Major", "6th ID AT CSM", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "Regimental Sergeant Major", "6th ID AT RSM", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Second Lieutenant", "6th ID AT SLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "First Lieutenant", "6th ID AT FLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "Captain", "6th ID AT CPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Major", "6th ID AT MAJ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Lieutenant Colonel ", "6th ID AT LTCOL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Colonel", "6th ID AT COL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(14, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Private", "2nd RG MD PVT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "Private First Class", "2nd RG MD PFC", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Corporal", "2nd RG MD CPL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Sergeant", "2nd RG MD SGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Staff Sergeant", "2nd RG MD SSGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Sergeant First Class", "2nd RG MD SGTFC", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Master Sergeant", "2nd RG MD MSGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "First Sergeant", "2nd RG MD FSGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Sergeant Major", "2nd RG MD SGTM", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "Second Lieutenant", "2nd RG MD SLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "First Lieutenant", "2nd RG MD FLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Captain", "2nd RG MD CPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Major", "2nd RG MD MAJ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Colonel", "2nd RG MD COL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 37000000000, "Brigadier General", "2nd RG MD BrigGen", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(15, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Private", "2nd RG AT PVT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "Private First Class", "2nd RG AT PFC", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Corporal", "2nd RG AT CPL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Sergeant", "2nd RG AT SGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Staff Sergeant", "2nd RG AT SSGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Sergeant First Class", "2nd RG AT SGTFC", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Master Sergeant", "2nd RG AT MSGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "First Sergeant", "2nd RG AT FSGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Sergeant Major", "2nd RG AT SGTM", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "Second Lieutenant", "2nd RG AT SLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "First Lieutenant", "2nd RG AT FLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Captain", "2nd RG AT CPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Major", "2nd RG AT MAJ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Colonel", "2nd RG AT COL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 37000000000, "Brigadier General", "2nd RG AT BrigGen", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(16, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Private", "2nd RG TK PVT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "Private First Class", "2nd RG TK PFC", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Corporal", "2nd RG TK CPL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Sergeant", "2nd RG TK SGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Staff Sergeant", "2nd RG TK SSGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Sergeant First Class", "2nd RG TK SGTFC", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Master Sergeant", "2nd RG TK MSGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "First Sergeant", "2nd RG TK FSGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Sergeant Major", "2nd RG TK SGTM", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "Second Lieutenant", "2nd RG TK SLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "First Lieutenant", "2nd RG TK FLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Captain", "2nd RG TK CPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Major", "2nd RG TK MAJ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Colonel", "2nd RG TK COL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 37000000000, "Brigadier General", "2nd RG TK BrigGen", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(17, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Private", "2nd RG PVT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "Private First Class", "2nd RG PFC", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Corporal", "2nd RG CPL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Sergeant", "2nd RG SGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Staff Sergeant", "2nd RG SSGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Sergeant First Class", "2nd RG SGTFC", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Master Sergeant", "2nd RG MSGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "First Sergeant", "2nd RG FSGT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Sergeant Major", "2nd RG SGTM", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "Second Lieutenant", "2nd RG SLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "First Lieutenant", "2nd RG FLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Captain", "2nd RG CPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Major", "2nd RG MAJ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Colonel", "2nd RG COL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 37000000000, "Brigadier General", "2nd RG BrigGen", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(13, 9, 15, ".", nil, nil, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(0, 1000000000, "Ryadovoy", "1st ID RVY", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(1, 1500000000, "Yefreytor", "1st ID YFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 3000000000, "Mladshiy Serzhant", "1st ID MS", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 6000000000, "Serzhant", "1st ID SHT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 12000000000, "Starshiy Serzhant", "1st ID SST", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 20000000000, "Starshina", "1st ID SSA", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 30000000000, "Praporshchik", "1st ID PK", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 45000000000, "Starshy Praporshchik", "1st ID SPK", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 60000000000, "Kursant", "1st ID KST", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 60000000000, "Mladshiy Leytenant", "1st ID ML", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 61000000000, "Leytenant", "1st ID LLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 62000000000, "Starshiy", "1st ID SSY", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 63000000000, "Kapitan", "1st ID KPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 64000000000, "Mayor", "1st ID MAY", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 65000000000, "Podpolkovnik", "1st ID PPKI", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 66000000000, "Polkovnik", "1st ID PVK", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(16, 67000000000, "General Mayor", "1st ID GMR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(17, 68000000000, "Rossoyskoy Marshal", "1st ID RYKY", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(12, 9, 15, ".", nil, nil, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(0, 1000000000, "Ryadovoy", "1st ID MD RVY", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(1, 1500000000, "Yefreytor", "1st ID MD YFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 3000000000, "Mladshiy Serzhant", "1st ID MD MS", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 6000000000, "Serzhant", "1st ID MD SHT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 12000000000, "Starshiy Serzhant", "1st ID MD SST", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 20000000000, "Starshina", "1st ID MD SSA", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 30000000000, "Praporshchik", "1st ID MD PK", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 45000000000, "Starshy Praporshchik", "1st ID MD SPK", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 60000000000, "Kursant", "1st ID MD KST", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 60000000000, "Mladshiy Leytenant", "1st ID MD ML", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 61000000000, "Leytenant", "1st ID MD LLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 62000000000, "Starshiy", "1st ID MD SSY", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 63000000000, "Kapitan", "1st ID MD KPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 64000000000, "Mayor", "1st ID MD MAY", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 65000000000, "Podpolkovnik", "1st ID MD PPKI", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 66000000000, "Polkovnik", "1st ID MD PVK", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(16, 67000000000, "General Mayor", "1st ID MD GMR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(17, 68000000000, "Rossoyskoy Marshal", "1st ID MD RYKY", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(11, 9, 15, ".", nil, nil, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(0, 1000000000, "Ryadovoy", "1st ID TK RVY", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(1, 1500000000, "Yefreytor", "1st ID TK YFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 3000000000, "Mladshiy Serzhant", "1st ID TK MS", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 6000000000, "Serzhant", "1st ID TK SHT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 12000000000, "Starshiy Serzhant", "1st ID TK SST", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 20000000000, "Starshina", "1st ID TK SSA", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 30000000000, "Praporshchik", "1st ID TK PK", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 45000000000, "Starshy Praporshchik", "1st ID TK SPK", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 60000000000, "Kursant", "1st ID TK KST", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 60000000000, "Mladshiy Leytenant", "1st ID TK ML", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 61000000000, "Leytenant", "1st ID TK LLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 62000000000, "Starshiy", "1st ID TK SSY", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 63000000000, "Kapitan", "1st ID TK KPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 64000000000, "Mayor", "1st ID TK MAY", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 65000000000, "Podpolkovnik", "1st ID TK PPKI", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 66000000000, "Polkovnik", "1st ID TK PVK", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(16, 67000000000, "General Mayor", "1st ID TK GMR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(17, 68000000000, "Rossoyskoy Marshal", "1st ID TK RYKY", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(22, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Grenadier", "352nd ID GDR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "Obergrenadier", "352nd ID OGR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Gefreiter", "352nd ID GFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Obergefreiter", "352nd ID OFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Stabsgefreiter", "352nd ID SGR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Unteroffizier", "352nd ID UOZR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Unterfeldwebel", "352nd ID UFWL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "Feldwebel", "352nd ID FWL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Oberfeldwebel", "352nd ID OFL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "Stabsfeldwebel", "352nd ID STL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "Leutnant", "352nd ID LT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Oberleutnant", "352nd ID OBLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Hauptmann", "352nd ID HPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Major", "352nd ID MAJ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 37000000000, "Oberstleutnant", "352nd ID OBLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(16, 38000000000, "Oberst", "352nd ID OBST", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(7, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Grenadier", "52nd ID GDR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "Obergrenadier", "52nd ID OGR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Gefreiter", "52nd ID GFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Obergefreiter", "52nd ID OFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Stabsgefreiter", "52nd ID SGR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Unteroffizier", "52nd ID UOZR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Unterfeldwebel", "52nd ID UFWL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "Feldwebel", "52nd ID FWL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Oberfeldwebel", "52nd ID OFL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "Stabsfeldwebel", "52nd ID STL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "Leutnant", "52nd ID LT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Oberleutnant", "52nd ID OBLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Hauptmann", "52nd ID HPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Major", "52nd ID MAJ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 37000000000, "Oberstleutnant", "52nd ID OBLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(16, 38000000000, "Oberst", "52nd ID OBST", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(8, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Grenadier", "52nd ID MD GDR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "Obergrenadier", "52nd ID MD OGR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Gefreiter", "52nd ID MD GFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Obergefreiter", "52nd ID MD OFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Stabsgefreiter", "52nd ID MD SGR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Unteroffizier", "52nd ID MD UOZR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Unterfeldwebel", "52nd ID MD UFWL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "Feldwebel", "52nd ID MD FWL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Oberfeldwebel", "52nd ID MD OFL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "Stabsfeldwebel", "52nd ID MD STL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "Leutnant", "52nd ID MD LT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Oberleutnant", "52nd ID MD OBLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Hauptmann", "52nd ID MD HPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Major", "52nd ID MD MAJ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 37000000000, "Oberstleutnant", "52nd ID AT OBLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(16, 38000000000, "Oberst", "52nd ID AT OBST", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(9, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Grenadier", "52nd ID AT GDR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "Obergrenadier", "52nd ID AT OGR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Gefreiter", "52nd ID AT GFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Obergefreiter", "52nd ID AT OFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Stabsgefreiter", "52nd ID AT SGR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Unteroffizier", "52nd ID AT UOZR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Unterfeldwebel", "52nd ID AT UFWL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "Feldwebel", "52nd ID AT FWL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Oberfeldwebel", "52nd ID AT OFL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "Stabsfeldwebel", "52nd ID AT STL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "Leutnant", "52nd ID AT LT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Oberleutnant", "52nd ID AT OBLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Hauptmann", "52nd ID AT HPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Major", "52nd ID AT MAJ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 37000000000, "Oberstleutnant", "52nd ID AT OBLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(16, 38000000000, "Oberst", "52nd ID AT OBST", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRankTable(10, 7, 45, ".", 1, 1, false) -- THIS MUST ALWAYS BE FIRST OR IT WILL SETUP FOR THE JOBRANK THAT WAS DEFINED BEFORE THIS
- JBR_SetupRank(1, 10000000000, "Grenadier", "52nd ID TK GDR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(2, 15000000000, "Obergrenadier", "52nd ID TK OGR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(3, 20000000000, "Gefreiter", "52nd ID TK GFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(4, 25000000000, "Obergefreiter", "52nd ID TK OFR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(5, 26000000000, "Stabsgefreiter", "52nd ID TK SGR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(6, 27000000000, "Unteroffizier", "52nd ID TK UOZR", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(7, 29000000000, "Unterfeldwebel", "52nd ID TK UFWL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(8, 30000000000, "Feldwebel", "52nd ID TK FWL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(9, 31000000000, "Oberfeldwebel", "52nd ID TK OFL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(10, 32000000000, "Stabsfeldwebel", "52nd ID TK STL", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(11, 33000000000, "Leutnant", "52nd ID TK LT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(12, 34000000000, "Oberleutnant", "52nd ID TK OBLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(13, 35000000000, "Hauptmann", "52nd ID TK HPT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(14, 36000000000, "Major", "52nd ID TK MAJ", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(15, 37000000000, "Oberstleutnant", "52nd ID TK OBLT", {Promote = false, Demote = false}, nil, {}, nil)
- JBR_SetupRank(16, 38000000000, "Oberst", "52nd ID TK OBST", {Promote = false, Demote = false}, nil, {}, nil)
- --[[
- NOTE: THIS FUNCTION HAS TO BE CALLED AT THE END OF THE CONFIG
- JBR_CopyRankTable(JobToCopy, Job)
- JobToCopy - This is the jobs ranktable it will copy and use
- Job - The job that should use the ranktable
- Example: JBR_CopyRankTable(TEAM_CHIEF, TEAM_POLICE)
- This would give TEAM_POLICE the same ranks as TEAM_CHIEF
- However this only COPY the table, the progression is still unique for each job
- ]]
- //Just an example, copies TEAM_POLICE ranktable and sets TEAM_POLICE ranktable to this.
- JBR_CopyRankTable(TEAM_POLICE, TEAM_POLICE)
- --JBR_AddJobToRankTable(JOB, JOBRANKTABLE_ID), for example JBR_AddJobToRankTable(TEAM_POLICE, 1) would make TEAM_POLICE use jobranktable 1
- JBR_AddJobToRankTable(TEAM_5thSSWiking, 1)
- JBR_AddJobToRankTable(TEAM_5thSSMD, 2)
- JBR_AddJobToRankTable(TEAM_5THSSTK, 3)
- JBR_AddJobToRankTable(TEAM_5THSSAT, 4)
- JBR_AddJobToRankTable(TEAM_352IDAT, 5)
- JBR_AddJobToRankTable(TEAM_352IDMD, 6)
- JBR_AddJobToRankTable(TEAM_52nd1, 7)
- JBR_AddJobToRankTable(TEAM_52nd2, 8)
- JBR_AddJobToRankTable(TEAM_52nd3, 9)
- JBR_AddJobToRankTable(TEAM_52nd4, 10)
- JBR_AddJobToRankTable(TEAM_RUSSHEAVY, 11)
- JBR_AddJobToRankTable(TEAM_RUSSMD, 12)
- JBR_AddJobToRankTable(TEAM_RUSSENLISTED, 13)
- JBR_AddJobToRankTable(TEAM_Rangersmd, 14)
- JBR_AddJobToRankTable(TEAM_Rangersat, 15)
- JBR_AddJobToRankTable(TEAM_Rangerstk, 16)
- JBR_AddJobToRankTable(TEAM_Rangers, 17)
- JBR_AddJobToRankTable(TEAM_6that, 18)
- JBR_AddJobToRankTable(TEAM_6thtk, 19)
- JBR_AddJobToRankTable(TEAM_6thmd, 20)
- JBR_AddJobToRankTable(TEAM_6thRM, 21)
- JBR_AddJobToRankTable(TEAM_352ndInfantryDivision, 22)
- end)
- end
- hook.Add("DarkRPFinishedLoading", "JBR_InitRanks", function()
- if DCONFIG then
- hook.Add("DConfigDataLoaded", "JBR_InitRanks", JBR_InitRanks)
- elseif ezJobs then
- hook.Add("ezJobsLoaded", "JBR_InitRanks", JBR_InitRanks)
- else
- hook.Add("loadCustomDarkRPItems", "JBR_InitRanks", JBR_InitRanks)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement