For the complete documentation index, see llms.txt. This page is also available as Markdown.

Grade Settings

Grade Settings

Grade Settings

This script comes with 0-4 grades by default. If your server uses more ranks, update the grade settings for your framework.

Example: 10 ranks usually means grades 0-9.

Framework Guides

  • QBCore

  • QBox / QBX

  • ESX


QBCore

1. Add Grades In QBCore

File:

qb-core/shared/jobs.lua

Find the police job and add all grades.

Example:

grades = {
    ['0'] = { name = 'Recruit', payment = 50 },
    ['1'] = { name = 'Officer', payment = 75 },
    ['2'] = { name = 'Senior Officer', payment = 90 },
    ['3'] = { name = 'Corporal', payment = 105 },
    ['4'] = { name = 'Sergeant', payment = 120 },
    ['5'] = { name = 'Lieutenant', payment = 135 },
    ['6'] = { name = 'Captain', payment = 150 },
    ['7'] = { name = 'Commander', payment = 170 },
    ['8'] = { name = 'Assistant Chief', isboss = true, payment = 190 },
    ['9'] = { name = 'Chief', isboss = true, payment = 220 },
}

2. Update Police Job Grades In This Script

File:

Find:

Update the grades list with the same ranks.

3. Set Boss Menu Access

File:

Find:

Example:

If grade 7 and higher should open the boss menu:

4. Update Script Grade SQL

File:

Find:

Add the same police grades there.

5. Update Grade-Based Features

File:

Check and update these sections:

Use your new grade list where needed:

6. Restart

Restart qb-core and frkn-policejob, or restart the server.


QBox / QBX

1. Add Grades In QBox

File:

Find the police job and add all grades.

QBox uses number keys:

Do not use QBCore style ['0'] keys in QBox.

For boss ranks, use:

2. Update Police Job Grades In This Script

File:

Find:

Update the grades list with the same ranks.

Inside this script, keep the existing string key style:

3. Set Boss Menu Access

File:

Find:

Example:

4. Update Script Grade SQL

File:

Find:

Add the same police grades there.

5. Update Grade-Based Features

File:

Check and update these sections:

Use your new grade list where needed:

6. Restart

Restart qbx_core and frkn-policejob, or restart the server.


ESX

1. Add Grades In ESX

In ESX, police ranks are usually managed from your ESX job system or database panel.

Make sure the police job has every grade you want to use.

Example rank setup:

Important ESX values:

2. Update Police Job Grades In This Script

File:

Find:

Update the grades list with the same ranks.

3. Set Boss Menu Access

File:

Find:

Example:

4. Update Script Grade SQL

File:

Find:

Add the same police grades there.

5. Update Grade-Based Features

File:

Check and update these sections:

Use your new grade list where needed:

6. Refresh / Restart

After changing ESX jobs, refresh jobs or restart the server/resource.


Quick Checklist

For every framework:

  1. Add the grades in your framework.

  2. Update FRKN.Departments.

  3. Update BossOpenGrade.

  4. Update frkn_pd_job_grades in pdall.sql.

  5. Update item, vehicle, action menu, community service, and clothing grades.

  6. Restart the needed resources.

Last updated