In Metal Gear Solid 2: Sons of Liberty, you can pick up the Heckler & Koch PSG1 sniper rifle by returning to the Strut F Warehouse after meeting Richard Ames in the Shell 1 Core. By that point he'll have given you a Level 3 card, which opens rooms you couldn't access earlier. Head to the second floor of the warehouse and search the rooms there, and you'll find the PSG1 waiting.