An aircraft was hit by a bullet as it prepared to take off from the tarmac.