Yeah what was stated above, usually if a car dies right away on start up and doesnt want to rev beyond 2500/3000 rpm thats the magic spot of the MAF giving trouble. If you need diagrams to help you diagnose what wires/possible vaccum lines you may need to look over then here it is:
.: Ultimate 240SX Guide :.