Attach a 2-by-4 to each side of a truss member that is cracked but hasn't had any material removed from it. Position the 2-by-4 boards so that they extend several feet in both directions away from the crack or break along the length of the truss member. Secure a 2-by-4 board to the truss by spreading construction adhesive onto one face, pressing the 2-by-4 against the truss member and securing it in place with 3-inch-long screws.
Repair a truss that has had a piece cut out of it by replacing the missing piece and then securing the structure using the technique in Step 1. For example, if someone has cut a 24-inch-long piece out of the truss in the course of installing an attic hatch, you will need to place a 24-inch-long replacement piece in the gap, then secure it by attaching a 2-by-4 to each side of the patched area and attaching them to the truss with construction adhesive and screws. Note that this repair will require you to move the attic hatch.
Reinforce the corners of roof trusses that are showing cracks or damage by covering the corner on both sides with a steel plate and screwing the plates onto the faces of the truss.