The invention relates to a two-function fuel-carrier generator, wherein it has two fuel feeding systems, as the petrol feeding system formed by oil tank, oil electromagnetic valve, carburetor and engine, and the natural gas feeding system formed by gas electromagnetic valve, adjusting valve, power valve, mixer, carburetor and engine; the connection of petrol feeding system is controlled by oil electromagnetic while the natural gas feeding system is controlled by gas electromagnetic valve. The invention can use petrol and natural gas as fuels, to reduce the cost, the pollution and the abrasion of engine.