i dunno but if you smeel gas, is it just running rich cause your o2 is bad? just an idea. Does the car run funny, or act different in anyway. Try reseting your ecu, and see if it goes out and stays out. Not uncommon for it to come on for something little or nothing. This is how to reset your ecu. Takes under 10 minutes.
Find the computer(Behind the plastic piece by the passenger foot Pull it out Turn your key to the on position You will see a flathead screw looking bolt on 1 side of the computer. Turn this fully clockwise Wait at least 2 seconds Turn it back to fully counterclockwise This will then show the trouble code - (The check engine light will blink to show this, for instance, blink..blink..blink......blink..blink, will be 32) After you read the code, you can start the engine Turn the bolt back to the clockwise position for at least 2 seconds(While running) Turn it back to the counterclockwise position Now shut the car and then start it again, this should of removed the code.
I would also suggest counting the the number of times the red light flashes so you know what code it throuhg. All the codes can be found on
http://www.240sx.org faq pages.