Check for job
This can be used to determine if a player has a certain job role or not.
jobname = Name of the job you want to check for eg 'police'
ESX.CheckJob(jobname)
local job = ESX.CheckJob('police')
if job then
do something
else
do something
end
Last updated