๐ฎPolice Job Checks
If you're on ESX then currently there doesn't seem to be an equivalent check for Police Jobs unfortunately
As long as you have your jobs set up properly in your jobs.lua file, Envi-Bridge automatically treats all PD jobs as the police job. If you would like to take advantage of this functionality, then edit your jobs as so:
police = {
label = 'Law Enforcement',
type = 'leo', -- Add this to your police jobs
defaultDuty = true,
offDutyPay = false,
grades = {} -- Grade information not relevant to the example
},
lspd = {
label = 'LSPD',
type = 'leo', -- Add this to your police jobs
defaultDuty = true,
offDutyPay = false,
grades = {} -- Grade information not relevant to the example
},
bcso = {
label = 'BCSO',
type = 'leo', -- Add this to your police jobs
defaultDuty = true,
offDutyPay = false,
grades = {} -- Grade information not relevant to the example
},In the above example there are three different "Police" jobs, however players with any of those jobs will be considered even if you are only checking for 'police' in your config file. The reason lies within Envi-Bridge. When loading the player's data on the server if the player's job has the type of 'leo', then the job name is set to 'police'.
Last updated