Citizen.CreateThread(function() local closestDoor, closestDist = exports["doors_creator"]:getClosestActiveDoor()if(closestDoor and closestDist <3.0) thenprint("The closest door is " .. closestDoor.id .." and is " .. closestDist .." meters away")endend)