Be aware Trev, the term head gasket failure is often an incorrect description, head gaskets, especially on the 300zx do not fail on their own, there is always a cause. Just changing the gaskets will not effect a repair on its own.
So the failure of the gaskets ability to seal in the water between the head and block is usually the result of one or both heads warping, ( alloy heads on a cast block ) this could of been due to water loss, failed water pump or pin holes in the head surface.
So a full water system check is required to see where the original issue started out, and then the heads will need removing ( can be done in the car easier on non turbo ) and sent away for checking and skimming if the rest of the engine is ok.
The block will need a through check and the tops of the pistons and the cylinder`s condition checked and even measured for wear, of course this strip will require you do a cambelt change, even if the existing belt looks ok. New belt pulley rollers, new water pump, new tensioner and by pass hoses, then on to ancillary belts.
The cost of this job in parts os not insignificant, do not be tempted to just change the gaskets, not skim the heads and fit the old belt on, this will be a recipe for disaster.
Good look and and use the search button on hear, plenty of info.
Jeff
This is the level of stripping required, this however is a non turbo engine which is significantly easier in the car, but turbo can also be done.