Allow yourself at least two hours to do the job if you haven't done one before.
Ensure you get a replacement gasket set that includes the round rubber seals that sit under the cover retaining bolts as these need replacing as well to achieve the correct torque to hold the cover down for a good seal. Originals will have gone hard just like the main and plug hole centre gasket through age and heat cycles. Also apply Hylomar gasket sealant around the half moon shapes at the front and rear of the head where the gasket changes direction, this is a BMW recognised method for replacement.
BMW parts Z3 E36 Z3 2.8 Cylinder head cover
www.realoem.com
I use Elring brand gasket sets and have done a few members cars, never had one come back with a leak, here is a loink to Autodoc for the 2.8 set
Ensure you reattach the two earth wires under the cover when the coil packs are put back in to their studs, leaving them undone will fry the DME should the engine be started with these disconnected.