Advertisement
Guest User

TCG Rank codes

a guest
Dec 12th, 2019
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.05 KB | None | 0 0
  1.  
  2. --[[
  3. TO "TRANSFER" THE OLD DATA USE:
  4. jobranks_jobs in your ingame console,
  5. It will print all jobnames and IDs, simply use the ID as the jobranks ID Identifier and it will use the old data
  6.  
  7. For example:
  8. Jobname: Citizen, ID: 1
  9. Jobname: Civil Protection, ID: 2
  10. Jobname: Gangster, ID: 3
  11. Jobname: Mob boss, ID: 4
  12. Jobname: Gun Dealer, ID: 5
  13. Jobname: Medic, ID: 6
  14. Jobname: Civil Protection Chief, ID: 7
  15. Jobname: Mayor, ID: 8
  16. Jobname: Hobo, ID: 9
  17.  
  18. If you want to use old CP data for the new structure simply put:
  19. Old:
  20. JBR_SetupRankTable(TEAM_POLICE, 8, 15, ".", 5, 5, false)
  21.  
  22. New:
  23. JBR_SetupRankTable(2, 8, 15, ".", 5, 5, false)
  24.  
  25. And then you also have to add:
  26. JBR_AddJobToRankTable(TEAM_POLICE, 2)
  27.  
  28. This way you can make multiply jobs use same jobrank table and progression
  29.  
  30. Multiply jobs can now use the same jobrank table
  31. No longer depends on TEAM IDs, hence adding new jobs will not make it load incorrect data (Data "loss" fix)
  32. Now automaticly adjusts reqranks if setup improperly
  33.  
  34. Config changes:
  35. Added JBR_AddJobToRankTable(JOB, JOBRANKTABLE_ID)
  36. Added .JobsRankTables
  37. ]]
  38. JobRanksConfig = JobRanksConfig or {}
  39.  
  40. //Use MySQL or not, edit database in sv_mysql.lua
  41. JobRanksConfig.MYSQLOO = false
  42.  
  43. //Who can access admin commands etc
  44. JobRanksConfig.AdminAccessCustomCheck = function(Player)
  45. if Player:IsAdmin() then
  46. return true
  47. else
  48. return false
  49. end
  50. end
  51. //How often should it update and save?
  52. JobRanksConfig.UpdateTimer = 30
  53. //Players Required to be able to earns playtime through timer
  54. JobRanksConfig.PlayersRequired = 0
  55. //Should it give SALARY*Bonus instead of SALARY+Bonus?
  56. //NOTE: This calculates BaseSalary + (BaseSalary/100*Bonus)
  57. //So if you set BonusSalary to 15 it will be 15% of the original salary
  58. JobRanksConfig.BonusSalaryPercent = false
  59. //Disables progression if player is AFK
  60. JobRanksConfig.DisableAFKProgress = true
  61. //NOTE: These uses DarkRPs chatcommand system, which means it will always use / before the command so by default it would be -> /rpromote NICK REASON
  62. //Chatcommand to promote
  63. JobRanksConfig.PromotionChatCommands = {"rpromote"}
  64. //Chatcommand to demote
  65. JobRanksConfig.DemotionChatCommands = {"rdemote"}
  66. //Should ranks reset when you die?
  67. JobRanksConfig.ResetRanksOnDeath = false
  68.  
  69. //HUD Jobranks
  70. JobRanksConfig.HUD = true
  71. //Defined 0-100, 0 is as much left as it can and 100 is as much right as it can
  72. JobRanksConfig.UIW = 100
  73. //Defined 0-100, 0 is as much up as it can and 100 is as much down as it can
  74. JobRanksConfig.UIH = 0
  75. --[[
  76. bar = a bar for progress
  77. time = text for time left
  78. number = numbers only
  79. ]]
  80. JobRanksConfig.HUDType = "number"
  81.  
  82. --[[
  83. 1 = Displays: Job
  84. 2 = Displays: Jobrank
  85. 3 = Displays: Job (JobRank)
  86. ]]
  87. JobRanksConfig.ShowJobType = 3
  88.  
  89. JobRanksConfig.UIBoxColor = Color(100,100,100,200)
  90. JobRanksConfig.UIOutlineColor = Color(200, 200, 200, 200)
  91. JobRanksConfig.UITextColor = Color(255,255,255,200)
  92. JobRanksConfig.BarBackground = Color(0,0,0,255)
  93. JobRanksConfig.Bar = Color(0,200,0,255)
  94.  
  95. JobRanks = JobRanks or {}
  96. JobRanksConfig.JobJoinRestrictments = JobRanksConfig.JobJoinRestrictments or {}
  97. JobRanksConfig.JobPermissionList = JobRanksConfig.JobPermissionList or {}
  98. JobRanksConfig.JobsRankTables = JobRanksConfig.JobsRankTables or {}
  99.  
  100. local function JBR_InitRanks()
  101. timer.Simple(3, function()
  102. --[[
  103. JBR_SetupRestrictedJob(Job, RequiredJobs)
  104. Job - The job to be restricted
  105. RequiredJobs - Table of the ranks you must reach in that specific job {[Job] = RequiredRank, [Job2] = RequiredRank} etc
  106. ]]
  107. JBR_SetupRestrictedJob(TEAM_CHIEF, {[TEAM_POLICE] = 8})
  108.  
  109. --[[
  110. JBR_SetupJobPermissionList(Job, AllowedJobs)
  111. Job - Job that is allowed to promote/demote
  112. AllowedJobs - The jobs the job is allowed to promote/demote {[Job] = true, [Job2] = true} etc
  113. ]]
  114. JBR_SetupJobPermissionList(TEAM_POLICE, {[TEAM_POLICE] = true})
  115.  
  116. --[[
  117. JBR_SetupRankTable(Job, MaxRank, BonusSalary, PrefixSeparator, Warrant, Wanted, DisableProgression)
  118. 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
  119. MaxRank - Maximum rank achieveable
  120. 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
  121. PrefixSeparator - What should be between Prefix and Name, for example . would be Pvt.ToBadForYou or _ would be Pvt_ToBadForYou
  122. Warrant - Rank required to warrant, set to nil to disable
  123. Wanted - Rank required to Wanted, set to nil to disable
  124. DisableProgression - true or false, true will not allow the player to progress through playtime only through manual promotions
  125. ]]
  126. 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
  127.  
  128. --[[
  129. JBR_SetupRank(RankID, TimeRequired, Name, Prefix, Permissions, ExtraStats, Loadout, Icon)
  130. RankID - RankID should start from 1
  131. TimeRequired - First rank MUST always have 0, other ranks must be above the previous one. It counts the difference between OLD and NEW rank
  132. Name - Rank name
  133. Prefix - Prefix before players name
  134.  
  135. Permissions
  136. ----------------------------------------------------
  137. Promote = true/false -> Can this rank promote?
  138. MaxPromotion = Number -> Max rank this rank can promote to
  139. Demote = true/false -> Can this rank demote?
  140. MaxDemotion = Number -> Max rank this rank can demote to
  141.  
  142. Leaving MaxPromotion empty will allow to set to highest rank
  143. Leaving MaxDemotion empty will allow to set to lowest rank
  144.  
  145. 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
  146. ----------------------------------------------------
  147.  
  148. ExtraStats - Extra stats (speaks for itself)
  149. Loadout - Extraloadout for this SPECIFIC rank
  150. Icon - Icon path for this ranks icon
  151. ]]
  152. //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)
  153. JBR_SetupRank(1, 0, "Recruit", "Rct", {Promote = false, Demote = false}, {Health = 5, Armor = 5}, {}, Material("jobranks/police/rank1.png"))
  154. JBR_SetupRank(2, 0, "Deputy", "Dpt", {Promote = false, Demote = false}, {Health = 10, Armor = 10}, {}, Material("jobranks/police/rank2.png"))
  155. JBR_SetupRank(3, 3000, "Detective", "Det", {Promote = false, Demote = false}, {Health = 15, Armor = 15}, {}, Material("jobranks/police/rank3.png"))
  156. JBR_SetupRank(4, 6000, "Sergeant", "Sgt", {Promote = false, Demote = false}, {Health = 20, Armor = 20}, {}, Material("jobranks/police/rank4.png"))
  157. JBR_SetupRank(5, 12000, "Lieutenant", "Lt", {Promote = false, Demote = true, MaxDemotion = 4}, {Health = 25, Armor = 25}, {"weapon_pumpshotgun2"}, Material("jobranks/police/rank5.png"))
  158. JBR_SetupRank(6, 20000, "Captain", "Cpt", {Promote = true, Demote = false, MaxPromotion = 5}, {Health = 30, Armor = 30}, {}, Material("jobranks/police/rank6.png"))
  159. 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"))
  160. JBR_SetupRank(8, 45000, "Inspector", "Insp", {Promote = true, Demote = true}, {Health = 40, Armor = 40}, {}, Material("jobranks/police/rank8.png"))
  161.  
  162. --[[
  163. RankID - Rank to setup for, set to false if for all ranks
  164. Function - Custom lua function
  165.  
  166. NOTE: ONLY SETUP CUSTOM LUA FUNCTION IF YOU KNOW WHAT YOU ARE DOING
  167. ]]
  168. JBR_SetupRankSpawnFunc(false, function(Player) print(Player, "all ranks") end) -- This custom lua function will run for ALL ranks upon SPAWN
  169. JBR_SetupRankSpawnFunc(1, function(Player) print(Player, "rank 1") end) -- This custom lua function will run for ONLY RANK 1 upon SPAWN
  170.  
  171. --[[
  172. JBR_SetupRankModel(RankID, ModelTbl)
  173. RankID - Rank to setup for
  174. ModelTbl - Model information, {{Model = "MODELPATH", Bodygroups{{BodygroupID, Amount}}, Skin = SKINID}}
  175. ]]
  176. JBR_SetupRankModel(1, {{Model = "models/player/police.mdl", Bodygroups = {{0,0},{2,1}}, Skin = 1}})--Sets model, two custom bodygroups and skin to 1
  177. --Skipped rank 2, it will now set default model on rank 2
  178. 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
  179. JBR_SetupRankModel(4, {{Model = "models/player/police_fem.mdl", Bodygroups = nil, Skin = 3}})--Sets model, no bodygroups, sets skin to 3
  180. JBR_SetupRankModel(5, {{Model = nil, Bodygroups = nil, Skin = 2}})--Sets default model, no bodygroups, sets skin to 2
  181.  
  182. --[[
  183. JBR_AddLoadout(RankID, Weapons)
  184. RankID - RankID
  185. Weapons - List of weapons
  186. This adds the loadout to this rank AND all ranks ABOVE this rank
  187. ]]
  188. JBR_AddLoadout(5, {"weapon_pumpshotgun2"})
  189. JBR_AddLoadout(7, {"weapon_mp52"})
  190.  
  191. --[[
  192. JBR_AddEntity(RankID, Entities)
  193. RankID - RankID required to buy the entities
  194. Entities - List of entities
  195. This will allow the input rank and all ABOVE this rank to purchase these entities
  196. ]]
  197. JBR_AddEntity(5, {"money_printer"})
  198.  
  199. --[[
  200. JBR_AddShipment(RankID, Shipments)
  201. RankID - RankID required to buy the shipments
  202. Shipments - List of shipments
  203. This will allow the input rank and all ABOVE this rank to purchase these shipments
  204. ]]
  205. JBR_AddShipment(5, {"weapon_pumpshotgun2"})
  206.  
  207.  
  208. 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
  209. JBR_SetupRank(1, 10000000000, "Schutze", "5th SS SCHTZ", {Promote = false, Demote = false}, nil, {}, nil)
  210. JBR_SetupRank(2, 15000000000, "OberSchutze", "5th SS OBSCHTZ", {Promote = false, Demote = false}, nil, {}, nil)
  211. JBR_SetupRank(3, 20000000000, "Strumman", "5th SS STMN", {Promote = false, Demote = false}, nil, {}, nil)
  212. JBR_SetupRank(4, 25000000000, "Rottenfuhrer", "5th SS RTFR", {Promote = false, Demote = false}, nil, {}, nil)
  213. JBR_SetupRank(5, 26000000000, "Unterscharfuhrer", "5th SS USF", {Promote = false, Demote = false}, nil, {}, nil)
  214. JBR_SetupRank(6, 27000000000, "Unteroffizier", "5th SS UOZR", {Promote = false, Demote = false}, nil, {}, nil)
  215. JBR_SetupRank(7, 29000000000, "Scharfuhrer", "5th SS SFR", {Promote = false, Demote = false}, nil, {}, nil)
  216. JBR_SetupRank(8, 30000000000, "Oberscharfuhrer", "5th SS OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
  217. JBR_SetupRank(9, 31000000000, "Hauptscharfuhrer", "5th SS HPT", {Promote = false, Demote = false}, nil, {}, nil)
  218. JBR_SetupRank(10, 32000000000, "Sturmscharfuhrer", "5th SS STFR", {Promote = false, Demote = false}, nil, {}, nil)
  219. JBR_SetupRank(11, 33000000000, "Untersturmfuhrer", "5th SS USFR", {Promote = false, Demote = false}, nil, {}, nil)
  220. JBR_SetupRank(12, 34000000000, "Obersturmfuhrer", "5th SS OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
  221. JBR_SetupRank(13, 35000000000, "Hauptsturmfuhrer", "5th SS HPTSFR", {Promote = false, Demote = false}, nil, {}, nil)
  222. JBR_SetupRank(14, 36000000000, "Sturmbannfuhrer", "5th SS SBFR", {Promote = false, Demote = false}, nil, {}, nil)
  223. JBR_SetupRank(15, 37000000000, "Obersturmbannfuhrer", "5th SS OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
  224. JBR_SetupRank(16, 38000000000, "Standartenfuhrer", "5th SS STDFR", {Promote = false, Demote = false}, nil, {}, nil)
  225. JBR_SetupRank(17, 39000000000, "Oberfuhrer", "5th SS OBFR", {Promote = false, Demote = false}, nil, {}, nil)
  226.  
  227. 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
  228. JBR_SetupRank(1, 10000000000, "Schutze", "5th SS MD SCHTZ", {Promote = false, Demote = false}, nil, {}, nil)
  229. JBR_SetupRank(2, 15000000000, "OberSchutze", "5th SS MD OBSCHTZ", {Promote = false, Demote = false}, nil, {}, nil)
  230. JBR_SetupRank(3, 20000000000, "Strumman", "5th SS MD STMN", {Promote = false, Demote = false}, nil, {}, nil)
  231. JBR_SetupRank(4, 25000000000, "Rottenfuhrer", "5th SS MD RTFR", {Promote = false, Demote = false}, nil, {}, nil)
  232. JBR_SetupRank(5, 26000000000, "Unterscharfuhrer", "5th SS MD USF", {Promote = false, Demote = false}, nil, {}, nil)
  233. JBR_SetupRank(6, 27000000000, "Unteroffizier", "5th SS MD UOZR", {Promote = false, Demote = false}, nil, {}, nil)
  234. JBR_SetupRank(7, 29000000000, "Scharfuhrer", "5th SS MD SFR", {Promote = false, Demote = false}, nil, {}, nil)
  235. JBR_SetupRank(8, 30000000000, "Oberscharfuhrer", "5th SS MD OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
  236. JBR_SetupRank(9, 31000000000, "Hauptscharfuhrer", "5th SS MD HPT", {Promote = false, Demote = false}, nil, {}, nil)
  237. JBR_SetupRank(10, 32000000000, "Sturmscharfuhrer", "5th SS MD STFR", {Promote = false, Demote = false}, nil, {}, nil)
  238. JBR_SetupRank(11, 33000000000, "Untersturmfuhrer", "5th SS MD USFR", {Promote = false, Demote = false}, nil, {}, nil)
  239. JBR_SetupRank(12, 34000000000, "Obersturmfuhrer", "5th SS MD OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
  240. JBR_SetupRank(13, 35000000000, "Hauptsturmfuhrer", "5th SS MD HPTSFR", {Promote = false, Demote = false}, nil, {}, nil)
  241. JBR_SetupRank(14, 36000000000, "Sturmbannfuhrer", "5th SS MD SBFR", {Promote = false, Demote = false}, nil, {}, nil)
  242. JBR_SetupRank(15, 37000000000, "Obersturmbannfuhrer", "5th SS MD OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
  243. JBR_SetupRank(16, 38000000000, "Standartenfuhrer", "5th SS MD STDFR", {Promote = false, Demote = false}, nil, {}, nil)
  244. JBR_SetupRank(17, 39000000000, "Oberfuhrer", "5th SS MD OBFR", {Promote = false, Demote = false}, nil, {}, nil)
  245.  
  246. 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
  247. JBR_SetupRank(1, 10000000000, "Schutze", "5th SS PS SCHTZ", {Promote = false, Demote = false}, nil, {}, nil)
  248. JBR_SetupRank(2, 15000000000, "OberSchutze", "5th SS PS OBSCHTZ", {Promote = false, Demote = false}, nil, {}, nil)
  249. JBR_SetupRank(3, 20000000000, "Strumman", "5th SS PS STMN", {Promote = false, Demote = false}, nil, {}, nil)
  250. JBR_SetupRank(4, 25000000000, "Rottenfuhrer", "5th SS PS RTFR", {Promote = false, Demote = false}, nil, {}, nil)
  251. JBR_SetupRank(5, 26000000000, "Unterscharfuhrer", "5th SS PS USF", {Promote = false, Demote = false}, nil, {}, nil)
  252. JBR_SetupRank(6, 27000000000, "Unteroffizier", "5th SS PS UOZR", {Promote = false, Demote = false}, nil, {}, nil)
  253. JBR_SetupRank(7, 29000000000, "Scharfuhrer", "5th SS PS SFR", {Promote = false, Demote = false}, nil, {}, nil)
  254. JBR_SetupRank(8, 30000000000, "Oberscharfuhrer", "5th SS PS OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
  255. JBR_SetupRank(9, 31000000000, "Hauptscharfuhrer", "5th SS PS HPT", {Promote = false, Demote = false}, nil, {}, nil)
  256. JBR_SetupRank(10, 32000000000, "Sturmscharfuhrer", "5th SS PS STFR", {Promote = false, Demote = false}, nil, {}, nil)
  257. JBR_SetupRank(11, 33000000000, "Untersturmfuhrer", "5th SS PS USFR", {Promote = false, Demote = false}, nil, {}, nil)
  258. JBR_SetupRank(12, 34000000000, "Obersturmfuhrer", "5th SS PS OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
  259. JBR_SetupRank(13, 35000000000, "Hauptsturmfuhrer", "5th SS PS HPTSFR", {Promote = false, Demote = false}, nil, {}, nil)
  260. JBR_SetupRank(14, 36000000000, "Sturmbannfuhrer", "5th SS PS SBFR", {Promote = false, Demote = false}, nil, {}, nil)
  261. JBR_SetupRank(15, 37000000000, "Obersturmbannfuhrer", "5th SS PS OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
  262. JBR_SetupRank(16, 38000000000, "Standartenfuhrer", "5th SS PS STDFR", {Promote = false, Demote = false}, nil, {}, nil)
  263. JBR_SetupRank(17, 39000000000, "Oberfuhrer", "5th SS OBFR", {Promote = false, Demote = false}, nil, {}, nil)
  264.  
  265. 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
  266. JBR_SetupRank(1, 10000000000, "Schutze", "5th SS AT SCHTZ", {Promote = false, Demote = false}, nil, {}, nil)
  267. JBR_SetupRank(2, 15000000000, "OberSchutze", "5th SS AT OBSCHTZ", {Promote = false, Demote = false}, nil, {}, nil)
  268. JBR_SetupRank(3, 20000000000, "Strumman", "5th SS AT STMN", {Promote = false, Demote = false}, nil, {}, nil)
  269. JBR_SetupRank(4, 25000000000, "Rottenfuhrer", "5th SS AT RTFR", {Promote = false, Demote = false}, nil, {}, nil)
  270. JBR_SetupRank(5, 26000000000, "Unterscharfuhrer", "5th SS AT USF", {Promote = false, Demote = false}, nil, {}, nil)
  271. JBR_SetupRank(6, 27000000000, "Unteroffizier", "5th SS AT UOZR", {Promote = false, Demote = false}, nil, {}, nil)
  272. JBR_SetupRank(7, 29000000000, "Scharfuhrer", "5th SS AT SFR", {Promote = false, Demote = false}, nil, {}, nil)
  273. JBR_SetupRank(8, 30000000000, "Oberscharfuhrer", "5th SS AT OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
  274. JBR_SetupRank(9, 31000000000, "Hauptscharfuhrer", "5th SS AT HPT", {Promote = false, Demote = false}, nil, {}, nil)
  275. JBR_SetupRank(10, 32000000000, "Sturmscharfuhrer", "5th SS AT STFR", {Promote = false, Demote = false}, nil, {}, nil)
  276. JBR_SetupRank(11, 33000000000, "Untersturmfuhrer", "5th SS AT USFR", {Promote = false, Demote = false}, nil, {}, nil)
  277. JBR_SetupRank(12, 34000000000, "Obersturmfuhrer", "5th SS AT OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
  278. JBR_SetupRank(13, 35000000000, "Hauptsturmfuhrer", "5th SS AT HPTSFR", {Promote = false, Demote = false}, nil, {}, nil)
  279. JBR_SetupRank(14, 36000000000, "Sturmbannfuhrer", "5th SS AT SBFR", {Promote = false, Demote = false}, nil, {}, nil)
  280. JBR_SetupRank(15, 37000000000, "Obersturmbannfuhrer", "5th SS AT OBSFR", {Promote = false, Demote = false}, nil, {}, nil)
  281. JBR_SetupRank(16, 38000000000, "Standartenfuhrer", "5th SS AT STDFR", {Promote = false, Demote = false}, nil, {}, nil)
  282. JBR_SetupRank(17, 39000000000, "Oberfuhrer", "5th SS AT OBFR", {Promote = false, Demote = false}, nil, {}, nil)
  283.  
  284. 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
  285. JBR_SetupRank(1, 10000000000, "Grenadier", "352nd ID AT GDR", {Promote = false, Demote = false}, nil, {}, nil)
  286. JBR_SetupRank(2, 15000000000, "Obergrenadier", "352nd ID AT OGR", {Promote = false, Demote = false}, nil, {}, nil)
  287. JBR_SetupRank(3, 20000000000, "Gefreiter", "352nd ID AT GFR", {Promote = false, Demote = false}, nil, {}, nil)
  288. JBR_SetupRank(4, 25000000000, "Obergefreiter", "352nd ID AT OFR", {Promote = false, Demote = false}, nil, {}, nil)
  289. JBR_SetupRank(5, 26000000000, "Stabsgefreiter", "352nd ID AT SGR", {Promote = false, Demote = false}, nil, {}, nil)
  290. JBR_SetupRank(6, 27000000000, "Unteroffizier", "352nd ID AT UOZR", {Promote = false, Demote = false}, nil, {}, nil)
  291. JBR_SetupRank(7, 29000000000, "Unterfeldwebel", "352nd ID AT UFWL", {Promote = false, Demote = false}, nil, {}, nil)
  292. JBR_SetupRank(8, 30000000000, "Feldwebel", "352nd ID AT FWL", {Promote = false, Demote = false}, nil, {}, nil)
  293. JBR_SetupRank(9, 31000000000, "Oberfeldwebel", "352nd ID AT OFL", {Promote = false, Demote = false}, nil, {}, nil)
  294. JBR_SetupRank(10, 32000000000, "Stabsfeldwebel", "352nd ID AT STL", {Promote = false, Demote = false}, nil, {}, nil)
  295. JBR_SetupRank(11, 33000000000, "Leutnant", "352nd ID AT LT", {Promote = false, Demote = false}, nil, {}, nil)
  296. JBR_SetupRank(12, 34000000000, "Oberleutnant", "352nd ID AT OBLT", {Promote = false, Demote = false}, nil, {}, nil)
  297. JBR_SetupRank(13, 35000000000, "Hauptmann", "352nd ID AT HPT", {Promote = false, Demote = false}, nil, {}, nil)
  298. JBR_SetupRank(14, 36000000000, "Major", "352nd ID AT MAJ", {Promote = false, Demote = false}, nil, {}, nil)
  299. JBR_SetupRank(15, 37000000000, "Oberstleutnant", "352nd ID AT OBLT", {Promote = false, Demote = false}, nil, {}, nil)
  300. JBR_SetupRank(16, 38000000000, "Oberst", "352nd ID AT OBST", {Promote = false, Demote = false}, nil, {}, nil)
  301.  
  302. 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
  303. JBR_SetupRank(1, 10000000000, "Grenadier", "352nd ID MD GDR", {Promote = false, Demote = false}, nil, {}, nil)
  304. JBR_SetupRank(2, 15000000000, "Obergrenadier", "352nd ID MD OGR", {Promote = false, Demote = false}, nil, {}, nil)
  305. JBR_SetupRank(3, 20000000000, "Gefreiter", "352nd ID MD GFR", {Promote = false, Demote = false}, nil, {}, nil)
  306. JBR_SetupRank(4, 25000000000, "Obergefreiter", "352nd ID MD OFR", {Promote = false, Demote = false}, nil, {}, nil)
  307. JBR_SetupRank(5, 26000000000, "Stabsgefreiter", "352nd ID MD SGR", {Promote = false, Demote = false}, nil, {}, nil)
  308. JBR_SetupRank(6, 27000000000, "Unteroffizier", "352nd ID MD UOZR", {Promote = false, Demote = false}, nil, {}, nil)
  309. JBR_SetupRank(7, 29000000000, "Unterfeldwebel", "352nd ID MD UFWL", {Promote = false, Demote = false}, nil, {}, nil)
  310. JBR_SetupRank(8, 30000000000, "Feldwebel", "352nd ID MD FWL", {Promote = false, Demote = false}, nil, {}, nil)
  311. JBR_SetupRank(9, 31000000000, "Oberfeldwebel", "352nd ID MD OFL", {Promote = false, Demote = false}, nil, {}, nil)
  312. JBR_SetupRank(10, 32000000000, "Stabsfeldwebel", "352nd ID MD STL", {Promote = false, Demote = false}, nil, {}, nil)
  313. JBR_SetupRank(11, 33000000000, "Leutnant", "352nd ID MD LT", {Promote = false, Demote = false}, nil, {}, nil)
  314. JBR_SetupRank(12, 34000000000, "Oberleutnant", "352nd ID MD OBLT", {Promote = false, Demote = false}, nil, {}, nil)
  315. JBR_SetupRank(13, 35000000000, "Hauptmann", "352nd ID MD HPT", {Promote = false, Demote = false}, nil, {}, nil)
  316. JBR_SetupRank(14, 36000000000, "Major", "352nd ID MD MAJ", {Promote = false, Demote = false}, nil, {}, nil)
  317. JBR_SetupRank(15, 37000000000, "Oberstleutnant", "352nd ID AT OBLT", {Promote = false, Demote = false}, nil, {}, nil)
  318. JBR_SetupRank(16, 38000000000, "Oberst", "352nd ID AT OBST", {Promote = false, Demote = false}, nil, {}, nil)
  319.  
  320. 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
  321. JBR_SetupRank(1, 10000000000, "Private", "6th ID MD PTE", {Promote = false, Demote = false}, nil, {}, nil)
  322. JBR_SetupRank(2, 15000000000, "Lance Corporal", "6th ID MD LCPL", {Promote = false, Demote = false}, nil, {}, nil)
  323. JBR_SetupRank(3, 20000000000, "Corporal", "6th ID MD CPL", {Promote = false, Demote = false}, nil, {}, nil)
  324. JBR_SetupRank(4, 25000000000, "Sergeant", "6th ID MD SGT", {Promote = false, Demote = false}, nil, {}, nil)
  325. JBR_SetupRank(5, 26000000000, "Colour Sergeant", "6th ID MD CSGT", {Promote = false, Demote = false}, nil, {}, nil)
  326. JBR_SetupRank(6, 27000000000, "Platoon Sergeant Major", "6th ID MD PSM", {Promote = false, Demote = false}, nil, {}, nil)
  327. JBR_SetupRank(7, 29000000000, "Company Sergeant Major", "6th ID MD CSM", {Promote = false, Demote = false}, nil, {}, nil)
  328. JBR_SetupRank(8, 30000000000, "Regimental Sergeant Major", "6th ID MD RSM", {Promote = false, Demote = false}, nil, {}, nil)
  329. JBR_SetupRank(9, 31000000000, "Second Lieutenant", "6th ID MD SLT", {Promote = false, Demote = false}, nil, {}, nil)
  330. JBR_SetupRank(10, 32000000000, "First Lieutenant", "6th ID MD FLT", {Promote = false, Demote = false}, nil, {}, nil)
  331. JBR_SetupRank(11, 33000000000, "Captain", "6th ID MD CPT", {Promote = false, Demote = false}, nil, {}, nil)
  332. JBR_SetupRank(12, 34000000000, "Major", "6th ID MD MAJ", {Promote = false, Demote = false}, nil, {}, nil)
  333. JBR_SetupRank(13, 35000000000, "Lieutenant Colonel ", "6th ID MD LTCOL", {Promote = false, Demote = false}, nil, {}, nil)
  334. JBR_SetupRank(14, 36000000000, "Colonel", "6th ID MD COL", {Promote = false, Demote = false}, nil, {}, nil)
  335.  
  336. 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
  337. JBR_SetupRank(1, 10000000000, "Private", "6th ID MD PTE", {Promote = false, Demote = false}, nil, {}, nil)
  338. JBR_SetupRank(2, 15000000000, "Lance Corporal", "6th ID MD LCPL", {Promote = false, Demote = false}, nil, {}, nil)
  339. JBR_SetupRank(3, 20000000000, "Corporal", "6th ID MD CPL", {Promote = false, Demote = false}, nil, {}, nil)
  340. JBR_SetupRank(4, 25000000000, "Sergeant", "6th ID MD SGT", {Promote = false, Demote = false}, nil, {}, nil)
  341. JBR_SetupRank(5, 26000000000, "Colour Sergeant", "6th ID MD CSGT", {Promote = false, Demote = false}, nil, {}, nil)
  342. JBR_SetupRank(6, 27000000000, "Platoon Sergeant Major", "6th ID MD PSM", {Promote = false, Demote = false}, nil, {}, nil)
  343. JBR_SetupRank(7, 29000000000, "Company Sergeant Major", "6th ID MD CSM", {Promote = false, Demote = false}, nil, {}, nil)
  344. JBR_SetupRank(8, 30000000000, "Regimental Sergeant Major", "6th ID MD RSM", {Promote = false, Demote = false}, nil, {}, nil)
  345. JBR_SetupRank(9, 31000000000, "Second Lieutenant", "6th ID MD SLT", {Promote = false, Demote = false}, nil, {}, nil)
  346. JBR_SetupRank(10, 32000000000, "First Lieutenant", "6th ID MD FLT", {Promote = false, Demote = false}, nil, {}, nil)
  347. JBR_SetupRank(11, 33000000000, "Captain", "6th ID MD CPT", {Promote = false, Demote = false}, nil, {}, nil)
  348. JBR_SetupRank(12, 34000000000, "Major", "6th ID MD MAJ", {Promote = false, Demote = false}, nil, {}, nil)
  349. JBR_SetupRank(13, 35000000000, "Lieutenant Colonel ", "6th ID MD LTCOL", {Promote = false, Demote = false}, nil, {}, nil)
  350. JBR_SetupRank(14, 36000000000, "Colonel", "6th ID MD COL", {Promote = false, Demote = false}, nil, {}, nil)
  351.  
  352. 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
  353. JBR_SetupRank(1, 10000000000, "Private", "6th ID TK PTE", {Promote = false, Demote = false}, nil, {}, nil)
  354. JBR_SetupRank(2, 15000000000, "Lance Corporal", "6th ID TK LCPL", {Promote = false, Demote = false}, nil, {}, nil)
  355. JBR_SetupRank(3, 20000000000, "Corporal", "6th ID TK CPL", {Promote = false, Demote = false}, nil, {}, nil)
  356. JBR_SetupRank(4, 25000000000, "Sergeant", "6th ID TK SGT", {Promote = false, Demote = false}, nil, {}, nil)
  357. JBR_SetupRank(5, 26000000000, "Colour Sergeant", "6th ID TK CSGT", {Promote = false, Demote = false}, nil, {}, nil)
  358. JBR_SetupRank(6, 27000000000, "Platoon Sergeant Major", "6th ID TK PSM", {Promote = false, Demote = false}, nil, {}, nil)
  359. JBR_SetupRank(7, 29000000000, "Company Sergeant Major", "6th ID TK CSM", {Promote = false, Demote = false}, nil, {}, nil)
  360. JBR_SetupRank(8, 30000000000, "Regimental Sergeant Major", "6th ID TK RSM", {Promote = false, Demote = false}, nil, {}, nil)
  361. JBR_SetupRank(9, 31000000000, "Second Lieutenant", "6th ID TK SLT", {Promote = false, Demote = false}, nil, {}, nil)
  362. JBR_SetupRank(10, 32000000000, "First Lieutenant", "6th ID TK FLT", {Promote = false, Demote = false}, nil, {}, nil)
  363. JBR_SetupRank(11, 33000000000, "Captain", "6th ID TK CPT", {Promote = false, Demote = false}, nil, {}, nil)
  364. JBR_SetupRank(12, 34000000000, "Major", "6th ID TK MAJ", {Promote = false, Demote = false}, nil, {}, nil)
  365. JBR_SetupRank(13, 35000000000, "Lieutenant Colonel ", "6th ID TK LTCOL", {Promote = false, Demote = false}, nil, {}, nil)
  366. JBR_SetupRank(14, 36000000000, "Colonel", "6th ID TK COL", {Promote = false, Demote = false}, nil, {}, nil)
  367.  
  368. 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
  369. JBR_SetupRank(1, 10000000000, "Private", "6th ID AT PTE", {Promote = false, Demote = false}, nil, {}, nil)
  370. JBR_SetupRank(2, 15000000000, "Lance Corporal", "6th ID AT LCPL", {Promote = false, Demote = false}, nil, {}, nil)
  371. JBR_SetupRank(3, 20000000000, "Corporal", "6th ID AT CPL", {Promote = false, Demote = false}, nil, {}, nil)
  372. JBR_SetupRank(4, 25000000000, "Sergeant", "6th ID AT SGT", {Promote = false, Demote = false}, nil, {}, nil)
  373. JBR_SetupRank(5, 26000000000, "Colour Sergeant", "6th ID AT CSGT", {Promote = false, Demote = false}, nil, {}, nil)
  374. JBR_SetupRank(6, 27000000000, "Platoon Sergeant Major", "6th ID AT PSM", {Promote = false, Demote = false}, nil, {}, nil)
  375. JBR_SetupRank(7, 29000000000, "Company Sergeant Major", "6th ID AT CSM", {Promote = false, Demote = false}, nil, {}, nil)
  376. JBR_SetupRank(8, 30000000000, "Regimental Sergeant Major", "6th ID AT RSM", {Promote = false, Demote = false}, nil, {}, nil)
  377. JBR_SetupRank(9, 31000000000, "Second Lieutenant", "6th ID AT SLT", {Promote = false, Demote = false}, nil, {}, nil)
  378. JBR_SetupRank(10, 32000000000, "First Lieutenant", "6th ID AT FLT", {Promote = false, Demote = false}, nil, {}, nil)
  379. JBR_SetupRank(11, 33000000000, "Captain", "6th ID AT CPT", {Promote = false, Demote = false}, nil, {}, nil)
  380. JBR_SetupRank(12, 34000000000, "Major", "6th ID AT MAJ", {Promote = false, Demote = false}, nil, {}, nil)
  381. JBR_SetupRank(13, 35000000000, "Lieutenant Colonel ", "6th ID AT LTCOL", {Promote = false, Demote = false}, nil, {}, nil)
  382. JBR_SetupRank(14, 36000000000, "Colonel", "6th ID AT COL", {Promote = false, Demote = false}, nil, {}, nil)
  383.  
  384. 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
  385. JBR_SetupRank(1, 10000000000, "Private", "2nd RG MD PVT", {Promote = false, Demote = false}, nil, {}, nil)
  386. JBR_SetupRank(2, 15000000000, "Private First Class", "2nd RG MD PFC", {Promote = false, Demote = false}, nil, {}, nil)
  387. JBR_SetupRank(3, 20000000000, "Corporal", "2nd RG MD CPL", {Promote = false, Demote = false}, nil, {}, nil)
  388. JBR_SetupRank(4, 25000000000, "Sergeant", "2nd RG MD SGT", {Promote = false, Demote = false}, nil, {}, nil)
  389. JBR_SetupRank(5, 26000000000, "Staff Sergeant", "2nd RG MD SSGT", {Promote = false, Demote = false}, nil, {}, nil)
  390. JBR_SetupRank(6, 27000000000, "Sergeant First Class", "2nd RG MD SGTFC", {Promote = false, Demote = false}, nil, {}, nil)
  391. JBR_SetupRank(7, 29000000000, "Master Sergeant", "2nd RG MD MSGT", {Promote = false, Demote = false}, nil, {}, nil)
  392. JBR_SetupRank(8, 30000000000, "First Sergeant", "2nd RG MD FSGT", {Promote = false, Demote = false}, nil, {}, nil)
  393. JBR_SetupRank(9, 31000000000, "Sergeant Major", "2nd RG MD SGTM", {Promote = false, Demote = false}, nil, {}, nil)
  394. JBR_SetupRank(10, 32000000000, "Second Lieutenant", "2nd RG MD SLT", {Promote = false, Demote = false}, nil, {}, nil)
  395. JBR_SetupRank(11, 33000000000, "First Lieutenant", "2nd RG MD FLT", {Promote = false, Demote = false}, nil, {}, nil)
  396. JBR_SetupRank(12, 34000000000, "Captain", "2nd RG MD CPT", {Promote = false, Demote = false}, nil, {}, nil)
  397. JBR_SetupRank(13, 35000000000, "Major", "2nd RG MD MAJ", {Promote = false, Demote = false}, nil, {}, nil)
  398. JBR_SetupRank(14, 36000000000, "Colonel", "2nd RG MD COL", {Promote = false, Demote = false}, nil, {}, nil)
  399. JBR_SetupRank(15, 37000000000, "Brigadier General", "2nd RG MD BrigGen", {Promote = false, Demote = false}, nil, {}, nil)
  400.  
  401. 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
  402. JBR_SetupRank(1, 10000000000, "Private", "2nd RG AT PVT", {Promote = false, Demote = false}, nil, {}, nil)
  403. JBR_SetupRank(2, 15000000000, "Private First Class", "2nd RG AT PFC", {Promote = false, Demote = false}, nil, {}, nil)
  404. JBR_SetupRank(3, 20000000000, "Corporal", "2nd RG AT CPL", {Promote = false, Demote = false}, nil, {}, nil)
  405. JBR_SetupRank(4, 25000000000, "Sergeant", "2nd RG AT SGT", {Promote = false, Demote = false}, nil, {}, nil)
  406. JBR_SetupRank(5, 26000000000, "Staff Sergeant", "2nd RG AT SSGT", {Promote = false, Demote = false}, nil, {}, nil)
  407. JBR_SetupRank(6, 27000000000, "Sergeant First Class", "2nd RG AT SGTFC", {Promote = false, Demote = false}, nil, {}, nil)
  408. JBR_SetupRank(7, 29000000000, "Master Sergeant", "2nd RG AT MSGT", {Promote = false, Demote = false}, nil, {}, nil)
  409. JBR_SetupRank(8, 30000000000, "First Sergeant", "2nd RG AT FSGT", {Promote = false, Demote = false}, nil, {}, nil)
  410. JBR_SetupRank(9, 31000000000, "Sergeant Major", "2nd RG AT SGTM", {Promote = false, Demote = false}, nil, {}, nil)
  411. JBR_SetupRank(10, 32000000000, "Second Lieutenant", "2nd RG AT SLT", {Promote = false, Demote = false}, nil, {}, nil)
  412. JBR_SetupRank(11, 33000000000, "First Lieutenant", "2nd RG AT FLT", {Promote = false, Demote = false}, nil, {}, nil)
  413. JBR_SetupRank(12, 34000000000, "Captain", "2nd RG AT CPT", {Promote = false, Demote = false}, nil, {}, nil)
  414. JBR_SetupRank(13, 35000000000, "Major", "2nd RG AT MAJ", {Promote = false, Demote = false}, nil, {}, nil)
  415. JBR_SetupRank(14, 36000000000, "Colonel", "2nd RG AT COL", {Promote = false, Demote = false}, nil, {}, nil)
  416. JBR_SetupRank(15, 37000000000, "Brigadier General", "2nd RG AT BrigGen", {Promote = false, Demote = false}, nil, {}, nil)
  417.  
  418. 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
  419. JBR_SetupRank(1, 10000000000, "Private", "2nd RG TK PVT", {Promote = false, Demote = false}, nil, {}, nil)
  420. JBR_SetupRank(2, 15000000000, "Private First Class", "2nd RG TK PFC", {Promote = false, Demote = false}, nil, {}, nil)
  421. JBR_SetupRank(3, 20000000000, "Corporal", "2nd RG TK CPL", {Promote = false, Demote = false}, nil, {}, nil)
  422. JBR_SetupRank(4, 25000000000, "Sergeant", "2nd RG TK SGT", {Promote = false, Demote = false}, nil, {}, nil)
  423. JBR_SetupRank(5, 26000000000, "Staff Sergeant", "2nd RG TK SSGT", {Promote = false, Demote = false}, nil, {}, nil)
  424. JBR_SetupRank(6, 27000000000, "Sergeant First Class", "2nd RG TK SGTFC", {Promote = false, Demote = false}, nil, {}, nil)
  425. JBR_SetupRank(7, 29000000000, "Master Sergeant", "2nd RG TK MSGT", {Promote = false, Demote = false}, nil, {}, nil)
  426. JBR_SetupRank(8, 30000000000, "First Sergeant", "2nd RG TK FSGT", {Promote = false, Demote = false}, nil, {}, nil)
  427. JBR_SetupRank(9, 31000000000, "Sergeant Major", "2nd RG TK SGTM", {Promote = false, Demote = false}, nil, {}, nil)
  428. JBR_SetupRank(10, 32000000000, "Second Lieutenant", "2nd RG TK SLT", {Promote = false, Demote = false}, nil, {}, nil)
  429. JBR_SetupRank(11, 33000000000, "First Lieutenant", "2nd RG TK FLT", {Promote = false, Demote = false}, nil, {}, nil)
  430. JBR_SetupRank(12, 34000000000, "Captain", "2nd RG TK CPT", {Promote = false, Demote = false}, nil, {}, nil)
  431. JBR_SetupRank(13, 35000000000, "Major", "2nd RG TK MAJ", {Promote = false, Demote = false}, nil, {}, nil)
  432. JBR_SetupRank(14, 36000000000, "Colonel", "2nd RG TK COL", {Promote = false, Demote = false}, nil, {}, nil)
  433. JBR_SetupRank(15, 37000000000, "Brigadier General", "2nd RG TK BrigGen", {Promote = false, Demote = false}, nil, {}, nil)
  434.  
  435. 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
  436. JBR_SetupRank(1, 10000000000, "Private", "2nd RG PVT", {Promote = false, Demote = false}, nil, {}, nil)
  437. JBR_SetupRank(2, 15000000000, "Private First Class", "2nd RG PFC", {Promote = false, Demote = false}, nil, {}, nil)
  438. JBR_SetupRank(3, 20000000000, "Corporal", "2nd RG CPL", {Promote = false, Demote = false}, nil, {}, nil)
  439. JBR_SetupRank(4, 25000000000, "Sergeant", "2nd RG SGT", {Promote = false, Demote = false}, nil, {}, nil)
  440. JBR_SetupRank(5, 26000000000, "Staff Sergeant", "2nd RG SSGT", {Promote = false, Demote = false}, nil, {}, nil)
  441. JBR_SetupRank(6, 27000000000, "Sergeant First Class", "2nd RG SGTFC", {Promote = false, Demote = false}, nil, {}, nil)
  442. JBR_SetupRank(7, 29000000000, "Master Sergeant", "2nd RG MSGT", {Promote = false, Demote = false}, nil, {}, nil)
  443. JBR_SetupRank(8, 30000000000, "First Sergeant", "2nd RG FSGT", {Promote = false, Demote = false}, nil, {}, nil)
  444. JBR_SetupRank(9, 31000000000, "Sergeant Major", "2nd RG SGTM", {Promote = false, Demote = false}, nil, {}, nil)
  445. JBR_SetupRank(10, 32000000000, "Second Lieutenant", "2nd RG SLT", {Promote = false, Demote = false}, nil, {}, nil)
  446. JBR_SetupRank(11, 33000000000, "First Lieutenant", "2nd RG FLT", {Promote = false, Demote = false}, nil, {}, nil)
  447. JBR_SetupRank(12, 34000000000, "Captain", "2nd RG CPT", {Promote = false, Demote = false}, nil, {}, nil)
  448. JBR_SetupRank(13, 35000000000, "Major", "2nd RG MAJ", {Promote = false, Demote = false}, nil, {}, nil)
  449. JBR_SetupRank(14, 36000000000, "Colonel", "2nd RG COL", {Promote = false, Demote = false}, nil, {}, nil)
  450. JBR_SetupRank(15, 37000000000, "Brigadier General", "2nd RG BrigGen", {Promote = false, Demote = false}, nil, {}, nil)
  451.  
  452. 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
  453. JBR_SetupRank(0, 1000000000, "Ryadovoy", "1st ID RVY", {Promote = false, Demote = false}, nil, {}, nil)
  454. JBR_SetupRank(1, 1500000000, "Yefreytor", "1st ID YFR", {Promote = false, Demote = false}, nil, {}, nil)
  455. JBR_SetupRank(2, 3000000000, "Mladshiy Serzhant", "1st ID MS", {Promote = false, Demote = false}, nil, {}, nil)
  456. JBR_SetupRank(3, 6000000000, "Serzhant", "1st ID SHT", {Promote = false, Demote = false}, nil, {}, nil)
  457. JBR_SetupRank(4, 12000000000, "Starshiy Serzhant", "1st ID SST", {Promote = false, Demote = false}, nil, {}, nil)
  458. JBR_SetupRank(5, 20000000000, "Starshina", "1st ID SSA", {Promote = false, Demote = false}, nil, {}, nil)
  459. JBR_SetupRank(6, 30000000000, "Praporshchik", "1st ID PK", {Promote = false, Demote = false}, nil, {}, nil)
  460. JBR_SetupRank(7, 45000000000, "Starshy Praporshchik", "1st ID SPK", {Promote = false, Demote = false}, nil, {}, nil)
  461. JBR_SetupRank(8, 60000000000, "Kursant", "1st ID KST", {Promote = false, Demote = false}, nil, {}, nil)
  462. JBR_SetupRank(9, 60000000000, "Mladshiy Leytenant", "1st ID ML", {Promote = false, Demote = false}, nil, {}, nil)
  463. JBR_SetupRank(10, 61000000000, "Leytenant", "1st ID LLT", {Promote = false, Demote = false}, nil, {}, nil)
  464. JBR_SetupRank(11, 62000000000, "Starshiy", "1st ID SSY", {Promote = false, Demote = false}, nil, {}, nil)
  465. JBR_SetupRank(12, 63000000000, "Kapitan", "1st ID KPT", {Promote = false, Demote = false}, nil, {}, nil)
  466. JBR_SetupRank(13, 64000000000, "Mayor", "1st ID MAY", {Promote = false, Demote = false}, nil, {}, nil)
  467. JBR_SetupRank(14, 65000000000, "Podpolkovnik", "1st ID PPKI", {Promote = false, Demote = false}, nil, {}, nil)
  468. JBR_SetupRank(15, 66000000000, "Polkovnik", "1st ID PVK", {Promote = false, Demote = false}, nil, {}, nil)
  469. JBR_SetupRank(16, 67000000000, "General Mayor", "1st ID GMR", {Promote = false, Demote = false}, nil, {}, nil)
  470. JBR_SetupRank(17, 68000000000, "Rossoyskoy Marshal", "1st ID RYKY", {Promote = false, Demote = false}, nil, {}, nil)
  471.  
  472. 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
  473. JBR_SetupRank(0, 1000000000, "Ryadovoy", "1st ID MD RVY", {Promote = false, Demote = false}, nil, {}, nil)
  474. JBR_SetupRank(1, 1500000000, "Yefreytor", "1st ID MD YFR", {Promote = false, Demote = false}, nil, {}, nil)
  475. JBR_SetupRank(2, 3000000000, "Mladshiy Serzhant", "1st ID MD MS", {Promote = false, Demote = false}, nil, {}, nil)
  476. JBR_SetupRank(3, 6000000000, "Serzhant", "1st ID MD SHT", {Promote = false, Demote = false}, nil, {}, nil)
  477. JBR_SetupRank(4, 12000000000, "Starshiy Serzhant", "1st ID MD SST", {Promote = false, Demote = false}, nil, {}, nil)
  478. JBR_SetupRank(5, 20000000000, "Starshina", "1st ID MD SSA", {Promote = false, Demote = false}, nil, {}, nil)
  479. JBR_SetupRank(6, 30000000000, "Praporshchik", "1st ID MD PK", {Promote = false, Demote = false}, nil, {}, nil)
  480. JBR_SetupRank(7, 45000000000, "Starshy Praporshchik", "1st ID MD SPK", {Promote = false, Demote = false}, nil, {}, nil)
  481. JBR_SetupRank(8, 60000000000, "Kursant", "1st ID MD KST", {Promote = false, Demote = false}, nil, {}, nil)
  482. JBR_SetupRank(9, 60000000000, "Mladshiy Leytenant", "1st ID MD ML", {Promote = false, Demote = false}, nil, {}, nil)
  483. JBR_SetupRank(10, 61000000000, "Leytenant", "1st ID MD LLT", {Promote = false, Demote = false}, nil, {}, nil)
  484. JBR_SetupRank(11, 62000000000, "Starshiy", "1st ID MD SSY", {Promote = false, Demote = false}, nil, {}, nil)
  485. JBR_SetupRank(12, 63000000000, "Kapitan", "1st ID MD KPT", {Promote = false, Demote = false}, nil, {}, nil)
  486. JBR_SetupRank(13, 64000000000, "Mayor", "1st ID MD MAY", {Promote = false, Demote = false}, nil, {}, nil)
  487. JBR_SetupRank(14, 65000000000, "Podpolkovnik", "1st ID MD PPKI", {Promote = false, Demote = false}, nil, {}, nil)
  488. JBR_SetupRank(15, 66000000000, "Polkovnik", "1st ID MD PVK", {Promote = false, Demote = false}, nil, {}, nil)
  489. JBR_SetupRank(16, 67000000000, "General Mayor", "1st ID MD GMR", {Promote = false, Demote = false}, nil, {}, nil)
  490. JBR_SetupRank(17, 68000000000, "Rossoyskoy Marshal", "1st ID MD RYKY", {Promote = false, Demote = false}, nil, {}, nil)
  491.  
  492. 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
  493. JBR_SetupRank(0, 1000000000, "Ryadovoy", "1st ID TK RVY", {Promote = false, Demote = false}, nil, {}, nil)
  494. JBR_SetupRank(1, 1500000000, "Yefreytor", "1st ID TK YFR", {Promote = false, Demote = false}, nil, {}, nil)
  495. JBR_SetupRank(2, 3000000000, "Mladshiy Serzhant", "1st ID TK MS", {Promote = false, Demote = false}, nil, {}, nil)
  496. JBR_SetupRank(3, 6000000000, "Serzhant", "1st ID TK SHT", {Promote = false, Demote = false}, nil, {}, nil)
  497. JBR_SetupRank(4, 12000000000, "Starshiy Serzhant", "1st ID TK SST", {Promote = false, Demote = false}, nil, {}, nil)
  498. JBR_SetupRank(5, 20000000000, "Starshina", "1st ID TK SSA", {Promote = false, Demote = false}, nil, {}, nil)
  499. JBR_SetupRank(6, 30000000000, "Praporshchik", "1st ID TK PK", {Promote = false, Demote = false}, nil, {}, nil)
  500. JBR_SetupRank(7, 45000000000, "Starshy Praporshchik", "1st ID TK SPK", {Promote = false, Demote = false}, nil, {}, nil)
  501. JBR_SetupRank(8, 60000000000, "Kursant", "1st ID TK KST", {Promote = false, Demote = false}, nil, {}, nil)
  502. JBR_SetupRank(9, 60000000000, "Mladshiy Leytenant", "1st ID TK ML", {Promote = false, Demote = false}, nil, {}, nil)
  503. JBR_SetupRank(10, 61000000000, "Leytenant", "1st ID TK LLT", {Promote = false, Demote = false}, nil, {}, nil)
  504. JBR_SetupRank(11, 62000000000, "Starshiy", "1st ID TK SSY", {Promote = false, Demote = false}, nil, {}, nil)
  505. JBR_SetupRank(12, 63000000000, "Kapitan", "1st ID TK KPT", {Promote = false, Demote = false}, nil, {}, nil)
  506. JBR_SetupRank(13, 64000000000, "Mayor", "1st ID TK MAY", {Promote = false, Demote = false}, nil, {}, nil)
  507. JBR_SetupRank(14, 65000000000, "Podpolkovnik", "1st ID TK PPKI", {Promote = false, Demote = false}, nil, {}, nil)
  508. JBR_SetupRank(15, 66000000000, "Polkovnik", "1st ID TK PVK", {Promote = false, Demote = false}, nil, {}, nil)
  509. JBR_SetupRank(16, 67000000000, "General Mayor", "1st ID TK GMR", {Promote = false, Demote = false}, nil, {}, nil)
  510. JBR_SetupRank(17, 68000000000, "Rossoyskoy Marshal", "1st ID TK RYKY", {Promote = false, Demote = false}, nil, {}, nil)
  511.  
  512. 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
  513. JBR_SetupRank(1, 10000000000, "Grenadier", "352nd ID GDR", {Promote = false, Demote = false}, nil, {}, nil)
  514. JBR_SetupRank(2, 15000000000, "Obergrenadier", "352nd ID OGR", {Promote = false, Demote = false}, nil, {}, nil)
  515. JBR_SetupRank(3, 20000000000, "Gefreiter", "352nd ID GFR", {Promote = false, Demote = false}, nil, {}, nil)
  516. JBR_SetupRank(4, 25000000000, "Obergefreiter", "352nd ID OFR", {Promote = false, Demote = false}, nil, {}, nil)
  517. JBR_SetupRank(5, 26000000000, "Stabsgefreiter", "352nd ID SGR", {Promote = false, Demote = false}, nil, {}, nil)
  518. JBR_SetupRank(6, 27000000000, "Unteroffizier", "352nd ID UOZR", {Promote = false, Demote = false}, nil, {}, nil)
  519. JBR_SetupRank(7, 29000000000, "Unterfeldwebel", "352nd ID UFWL", {Promote = false, Demote = false}, nil, {}, nil)
  520. JBR_SetupRank(8, 30000000000, "Feldwebel", "352nd ID FWL", {Promote = false, Demote = false}, nil, {}, nil)
  521. JBR_SetupRank(9, 31000000000, "Oberfeldwebel", "352nd ID OFL", {Promote = false, Demote = false}, nil, {}, nil)
  522. JBR_SetupRank(10, 32000000000, "Stabsfeldwebel", "352nd ID STL", {Promote = false, Demote = false}, nil, {}, nil)
  523. JBR_SetupRank(11, 33000000000, "Leutnant", "352nd ID LT", {Promote = false, Demote = false}, nil, {}, nil)
  524. JBR_SetupRank(12, 34000000000, "Oberleutnant", "352nd ID OBLT", {Promote = false, Demote = false}, nil, {}, nil)
  525. JBR_SetupRank(13, 35000000000, "Hauptmann", "352nd ID HPT", {Promote = false, Demote = false}, nil, {}, nil)
  526. JBR_SetupRank(14, 36000000000, "Major", "352nd ID MAJ", {Promote = false, Demote = false}, nil, {}, nil)
  527. JBR_SetupRank(15, 37000000000, "Oberstleutnant", "352nd ID OBLT", {Promote = false, Demote = false}, nil, {}, nil)
  528. JBR_SetupRank(16, 38000000000, "Oberst", "352nd ID OBST", {Promote = false, Demote = false}, nil, {}, nil)
  529.  
  530. 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
  531. JBR_SetupRank(1, 10000000000, "Grenadier", "52nd ID GDR", {Promote = false, Demote = false}, nil, {}, nil)
  532. JBR_SetupRank(2, 15000000000, "Obergrenadier", "52nd ID OGR", {Promote = false, Demote = false}, nil, {}, nil)
  533. JBR_SetupRank(3, 20000000000, "Gefreiter", "52nd ID GFR", {Promote = false, Demote = false}, nil, {}, nil)
  534. JBR_SetupRank(4, 25000000000, "Obergefreiter", "52nd ID OFR", {Promote = false, Demote = false}, nil, {}, nil)
  535. JBR_SetupRank(5, 26000000000, "Stabsgefreiter", "52nd ID SGR", {Promote = false, Demote = false}, nil, {}, nil)
  536. JBR_SetupRank(6, 27000000000, "Unteroffizier", "52nd ID UOZR", {Promote = false, Demote = false}, nil, {}, nil)
  537. JBR_SetupRank(7, 29000000000, "Unterfeldwebel", "52nd ID UFWL", {Promote = false, Demote = false}, nil, {}, nil)
  538. JBR_SetupRank(8, 30000000000, "Feldwebel", "52nd ID FWL", {Promote = false, Demote = false}, nil, {}, nil)
  539. JBR_SetupRank(9, 31000000000, "Oberfeldwebel", "52nd ID OFL", {Promote = false, Demote = false}, nil, {}, nil)
  540. JBR_SetupRank(10, 32000000000, "Stabsfeldwebel", "52nd ID STL", {Promote = false, Demote = false}, nil, {}, nil)
  541. JBR_SetupRank(11, 33000000000, "Leutnant", "52nd ID LT", {Promote = false, Demote = false}, nil, {}, nil)
  542. JBR_SetupRank(12, 34000000000, "Oberleutnant", "52nd ID OBLT", {Promote = false, Demote = false}, nil, {}, nil)
  543. JBR_SetupRank(13, 35000000000, "Hauptmann", "52nd ID HPT", {Promote = false, Demote = false}, nil, {}, nil)
  544. JBR_SetupRank(14, 36000000000, "Major", "52nd ID MAJ", {Promote = false, Demote = false}, nil, {}, nil)
  545. JBR_SetupRank(15, 37000000000, "Oberstleutnant", "52nd ID OBLT", {Promote = false, Demote = false}, nil, {}, nil)
  546. JBR_SetupRank(16, 38000000000, "Oberst", "52nd ID OBST", {Promote = false, Demote = false}, nil, {}, nil)
  547.  
  548. 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
  549. JBR_SetupRank(1, 10000000000, "Grenadier", "52nd ID MD GDR", {Promote = false, Demote = false}, nil, {}, nil)
  550. JBR_SetupRank(2, 15000000000, "Obergrenadier", "52nd ID MD OGR", {Promote = false, Demote = false}, nil, {}, nil)
  551. JBR_SetupRank(3, 20000000000, "Gefreiter", "52nd ID MD GFR", {Promote = false, Demote = false}, nil, {}, nil)
  552. JBR_SetupRank(4, 25000000000, "Obergefreiter", "52nd ID MD OFR", {Promote = false, Demote = false}, nil, {}, nil)
  553. JBR_SetupRank(5, 26000000000, "Stabsgefreiter", "52nd ID MD SGR", {Promote = false, Demote = false}, nil, {}, nil)
  554. JBR_SetupRank(6, 27000000000, "Unteroffizier", "52nd ID MD UOZR", {Promote = false, Demote = false}, nil, {}, nil)
  555. JBR_SetupRank(7, 29000000000, "Unterfeldwebel", "52nd ID MD UFWL", {Promote = false, Demote = false}, nil, {}, nil)
  556. JBR_SetupRank(8, 30000000000, "Feldwebel", "52nd ID MD FWL", {Promote = false, Demote = false}, nil, {}, nil)
  557. JBR_SetupRank(9, 31000000000, "Oberfeldwebel", "52nd ID MD OFL", {Promote = false, Demote = false}, nil, {}, nil)
  558. JBR_SetupRank(10, 32000000000, "Stabsfeldwebel", "52nd ID MD STL", {Promote = false, Demote = false}, nil, {}, nil)
  559. JBR_SetupRank(11, 33000000000, "Leutnant", "52nd ID MD LT", {Promote = false, Demote = false}, nil, {}, nil)
  560. JBR_SetupRank(12, 34000000000, "Oberleutnant", "52nd ID MD OBLT", {Promote = false, Demote = false}, nil, {}, nil)
  561. JBR_SetupRank(13, 35000000000, "Hauptmann", "52nd ID MD HPT", {Promote = false, Demote = false}, nil, {}, nil)
  562. JBR_SetupRank(14, 36000000000, "Major", "52nd ID MD MAJ", {Promote = false, Demote = false}, nil, {}, nil)
  563. JBR_SetupRank(15, 37000000000, "Oberstleutnant", "52nd ID AT OBLT", {Promote = false, Demote = false}, nil, {}, nil)
  564. JBR_SetupRank(16, 38000000000, "Oberst", "52nd ID AT OBST", {Promote = false, Demote = false}, nil, {}, nil)
  565.  
  566. 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
  567. JBR_SetupRank(1, 10000000000, "Grenadier", "52nd ID AT GDR", {Promote = false, Demote = false}, nil, {}, nil)
  568. JBR_SetupRank(2, 15000000000, "Obergrenadier", "52nd ID AT OGR", {Promote = false, Demote = false}, nil, {}, nil)
  569. JBR_SetupRank(3, 20000000000, "Gefreiter", "52nd ID AT GFR", {Promote = false, Demote = false}, nil, {}, nil)
  570. JBR_SetupRank(4, 25000000000, "Obergefreiter", "52nd ID AT OFR", {Promote = false, Demote = false}, nil, {}, nil)
  571. JBR_SetupRank(5, 26000000000, "Stabsgefreiter", "52nd ID AT SGR", {Promote = false, Demote = false}, nil, {}, nil)
  572. JBR_SetupRank(6, 27000000000, "Unteroffizier", "52nd ID AT UOZR", {Promote = false, Demote = false}, nil, {}, nil)
  573. JBR_SetupRank(7, 29000000000, "Unterfeldwebel", "52nd ID AT UFWL", {Promote = false, Demote = false}, nil, {}, nil)
  574. JBR_SetupRank(8, 30000000000, "Feldwebel", "52nd ID AT FWL", {Promote = false, Demote = false}, nil, {}, nil)
  575. JBR_SetupRank(9, 31000000000, "Oberfeldwebel", "52nd ID AT OFL", {Promote = false, Demote = false}, nil, {}, nil)
  576. JBR_SetupRank(10, 32000000000, "Stabsfeldwebel", "52nd ID AT STL", {Promote = false, Demote = false}, nil, {}, nil)
  577. JBR_SetupRank(11, 33000000000, "Leutnant", "52nd ID AT LT", {Promote = false, Demote = false}, nil, {}, nil)
  578. JBR_SetupRank(12, 34000000000, "Oberleutnant", "52nd ID AT OBLT", {Promote = false, Demote = false}, nil, {}, nil)
  579. JBR_SetupRank(13, 35000000000, "Hauptmann", "52nd ID AT HPT", {Promote = false, Demote = false}, nil, {}, nil)
  580. JBR_SetupRank(14, 36000000000, "Major", "52nd ID AT MAJ", {Promote = false, Demote = false}, nil, {}, nil)
  581. JBR_SetupRank(15, 37000000000, "Oberstleutnant", "52nd ID AT OBLT", {Promote = false, Demote = false}, nil, {}, nil)
  582. JBR_SetupRank(16, 38000000000, "Oberst", "52nd ID AT OBST", {Promote = false, Demote = false}, nil, {}, nil)
  583.  
  584. 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
  585. JBR_SetupRank(1, 10000000000, "Grenadier", "52nd ID TK GDR", {Promote = false, Demote = false}, nil, {}, nil)
  586. JBR_SetupRank(2, 15000000000, "Obergrenadier", "52nd ID TK OGR", {Promote = false, Demote = false}, nil, {}, nil)
  587. JBR_SetupRank(3, 20000000000, "Gefreiter", "52nd ID TK GFR", {Promote = false, Demote = false}, nil, {}, nil)
  588. JBR_SetupRank(4, 25000000000, "Obergefreiter", "52nd ID TK OFR", {Promote = false, Demote = false}, nil, {}, nil)
  589. JBR_SetupRank(5, 26000000000, "Stabsgefreiter", "52nd ID TK SGR", {Promote = false, Demote = false}, nil, {}, nil)
  590. JBR_SetupRank(6, 27000000000, "Unteroffizier", "52nd ID TK UOZR", {Promote = false, Demote = false}, nil, {}, nil)
  591. JBR_SetupRank(7, 29000000000, "Unterfeldwebel", "52nd ID TK UFWL", {Promote = false, Demote = false}, nil, {}, nil)
  592. JBR_SetupRank(8, 30000000000, "Feldwebel", "52nd ID TK FWL", {Promote = false, Demote = false}, nil, {}, nil)
  593. JBR_SetupRank(9, 31000000000, "Oberfeldwebel", "52nd ID TK OFL", {Promote = false, Demote = false}, nil, {}, nil)
  594. JBR_SetupRank(10, 32000000000, "Stabsfeldwebel", "52nd ID TK STL", {Promote = false, Demote = false}, nil, {}, nil)
  595. JBR_SetupRank(11, 33000000000, "Leutnant", "52nd ID TK LT", {Promote = false, Demote = false}, nil, {}, nil)
  596. JBR_SetupRank(12, 34000000000, "Oberleutnant", "52nd ID TK OBLT", {Promote = false, Demote = false}, nil, {}, nil)
  597. JBR_SetupRank(13, 35000000000, "Hauptmann", "52nd ID TK HPT", {Promote = false, Demote = false}, nil, {}, nil)
  598. JBR_SetupRank(14, 36000000000, "Major", "52nd ID TK MAJ", {Promote = false, Demote = false}, nil, {}, nil)
  599. JBR_SetupRank(15, 37000000000, "Oberstleutnant", "52nd ID TK OBLT", {Promote = false, Demote = false}, nil, {}, nil)
  600. JBR_SetupRank(16, 38000000000, "Oberst", "52nd ID TK OBST", {Promote = false, Demote = false}, nil, {}, nil)
  601. --[[
  602. NOTE: THIS FUNCTION HAS TO BE CALLED AT THE END OF THE CONFIG
  603.  
  604. JBR_CopyRankTable(JobToCopy, Job)
  605. JobToCopy - This is the jobs ranktable it will copy and use
  606. Job - The job that should use the ranktable
  607.  
  608. Example: JBR_CopyRankTable(TEAM_CHIEF, TEAM_POLICE)
  609. This would give TEAM_POLICE the same ranks as TEAM_CHIEF
  610. However this only COPY the table, the progression is still unique for each job
  611. ]]
  612. //Just an example, copies TEAM_POLICE ranktable and sets TEAM_POLICE ranktable to this.
  613. JBR_CopyRankTable(TEAM_POLICE, TEAM_POLICE)
  614.  
  615. --JBR_AddJobToRankTable(JOB, JOBRANKTABLE_ID), for example JBR_AddJobToRankTable(TEAM_POLICE, 1) would make TEAM_POLICE use jobranktable 1
  616. JBR_AddJobToRankTable(TEAM_5thSSWiking, 1)
  617. JBR_AddJobToRankTable(TEAM_5thSSMD, 2)
  618. JBR_AddJobToRankTable(TEAM_5THSSTK, 3)
  619. JBR_AddJobToRankTable(TEAM_5THSSAT, 4)
  620. JBR_AddJobToRankTable(TEAM_352IDAT, 5)
  621. JBR_AddJobToRankTable(TEAM_352IDMD, 6)
  622. JBR_AddJobToRankTable(TEAM_52nd1, 7)
  623. JBR_AddJobToRankTable(TEAM_52nd2, 8)
  624. JBR_AddJobToRankTable(TEAM_52nd3, 9)
  625. JBR_AddJobToRankTable(TEAM_52nd4, 10)
  626. JBR_AddJobToRankTable(TEAM_RUSSHEAVY, 11)
  627. JBR_AddJobToRankTable(TEAM_RUSSMD, 12)
  628. JBR_AddJobToRankTable(TEAM_RUSSENLISTED, 13)
  629. JBR_AddJobToRankTable(TEAM_Rangersmd, 14)
  630. JBR_AddJobToRankTable(TEAM_Rangersat, 15)
  631. JBR_AddJobToRankTable(TEAM_Rangerstk, 16)
  632. JBR_AddJobToRankTable(TEAM_Rangers, 17)
  633. JBR_AddJobToRankTable(TEAM_6that, 18)
  634. JBR_AddJobToRankTable(TEAM_6thtk, 19)
  635. JBR_AddJobToRankTable(TEAM_6thmd, 20)
  636. JBR_AddJobToRankTable(TEAM_6thRM, 21)
  637. JBR_AddJobToRankTable(TEAM_352ndInfantryDivision, 22)
  638.  
  639. end)
  640. end
  641.  
  642. hook.Add("DarkRPFinishedLoading", "JBR_InitRanks", function()
  643. if DCONFIG then
  644. hook.Add("DConfigDataLoaded", "JBR_InitRanks", JBR_InitRanks)
  645. elseif ezJobs then
  646. hook.Add("ezJobsLoaded", "JBR_InitRanks", JBR_InitRanks)
  647. else
  648. hook.Add("loadCustomDarkRPItems", "JBR_InitRanks", JBR_InitRanks)
  649. end
  650. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement