PivityGmodStore

Job Ranks System - a simple job ranking system

(59)(261)

You can always read the reviews or discuss this product

Stable1.4.0

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