Jobs Configuration
Configure which jobs appear on the scoreboard and their display settings.
Jobs Structure
Jobs = {
["police"] = {
show = true,
title = "POLICE",
jobname = "police"
},
["ems"] = {
show = true,
title = "EMS",
jobname = "ambulance"
},
["firefighter"] = {
show = true,
title = "FIRE FIGHTER",
jobname = "firefighter"
},
["mechanic"] = {
show = true,
title = "MECHANIC",
jobname = "mechanic"
},
["taxi"] = {
show = true,
title = "TAXI",
jobname = "taxi"
}
}
Configuration Parameters
show
- Type: Boolean (
true/false) - Description: Whether this job category should be displayed on the scoreboard
- Default:
true
title
- Type: String
- Description: The display name shown on the scoreboard
- Example:
"POLICE","EMS","MECHANIC"
jobname
- Type: String
- Description: The actual job name in your framework database
- Example: For ESX/QB, this is the job name in the
jobstable
Adding Custom Jobs
To add a new job category, add a new entry to the Jobs table:
["lawyer"] = {
show = true,
title = "LAWYER",
jobname = "lawyer"
}
Example: Full Configuration
Jobs = {
["police"] = {
show = true,
title = "POLICE",
jobname = "police"
},
["ems"] = {
show = true,
title = "EMS",
jobname = "ambulance"
},
["firefighter"] = {
show = true,
title = "FIRE FIGHTER",
jobname = "firefighter"
},
["mechanic"] = {
show = true,
title = "MECHANIC",
jobname = "mechanic"
},
["taxi"] = {
show = true,
title = "TAXI",
jobname = "taxi"
},
["lawyer"] = {
show = true,
title = "LAWYER",
jobname = "lawyer"
},
["realestate"] = {
show = true,
title = "REAL ESTATE",
jobname = "realestate"
}
}
Hiding Jobs
To hide a job from the scoreboard, set show to false:
["taxi"] = {
show = false,
title = "TAXI",
jobname = "taxi"
}
Tips
- The key (e.g.,
["police"]) is only for internal reference - The
jobnamemust match exactly with your framework's job name - The
titlecan be any display text you want - Jobs with
show = falsewill still count toward total players but won't show separately