Pilots usually get a basic salary, which largely depends on how long they have worked for the airline and the aircraft they fly. They will then be paid additional flight pay ontop of this for every hour that they spend flying.