Don’t ask me why but it seems to work for me like this

function() 
  if ESX.GetPlayerData().job ~= nil and ESX.GetPlayerData().job.name == 'ambulance' then
   return true
  end
end,
2 Likes