Citizen.CreateThread(function() local buildings = exports["doors_creator"]:getAllBuildings()for k, buildingData inpairs(buildings) doif(buildingData.allowedJobs and buildingData.allowedJobs["police"]) thenprint(buildingData.label .." is a police building")endendend)