The Missouri House narrowly approved a bill legalizing slot machines in gas stations and bars around the state.