Can't tell by the pic, but if it's got a long tang that both pins would contact, it's from an old HK-91. If it has a short tang (tang meaning the part covered by the stock when assembled) the it might be from an old HK-93 or 94.
They were the one's designed without the 3rd full auto position for HK's semi guns.