Check for job

This can be used to determine if a player has a certain job role or not.

EXPORT
jobname = Name of the job you want to check for eg 'police'

ESX.CheckJob(jobname)
EXAMPLE
local job = ESX.CheckJob('police')

if job then 
    do something
else
    do something
end

Last updated