Added SAM support (promote, demote or set rank)
Added promote/demote ULX commands
Reworked ALCS integration
Fixed demotion issue
Fixed warrant/wanted notification displaying wrong required rank when not high enough rank
Fixed issue with promoting resulting in a demotion if lacking permission
also fixed demoting resulting in a promotion if lacking permission
Added a PDF file that contains a guide how to set up the config
You can now disable prefix for specific jobs
Config changes:
Added JBR_DisablePrefix(Job)
Added .JobNoPrefix (keeps track of jobs that shouldnt use prefix)
You can now disable timeprogression on specific ranks (added one argument to JBR_SetupRank function)
You can now promote/demote with rank name or rank id
HUD now displays time/progress only if next rank is achieveable with time progression
Promotion/demotion commands now promote/demote one rank up/down if no rankid is provided
No longer sets health or armor if bonus status value is nil in ranks
Config changes:
Added argument to JBR_SetupRank, disable timeprogression for rank true/false
Fixed not being able to promote/demote as non-admin
Fixed issue when using jobranks on default job (Starting job)
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
SQLite issues fixed
- 1
- Next ›