Terry Pendleton hit a freak inside-the-park grand slam and Joaquin Andujar pitched a seven-hitter as the St. Louis Cardinals beat the Mets, 8-2, to gain a split of their doubleheader yesterday in New York.

In the first game, New York ended a three-game losing streak as Dwight Gooden pitched a six-hitter over eight innings in a 6-1 victory.

Andujar (11-1) won his seventh straight, striking out three and walking none in his fifth complete game of the season. He lost the shutout in the seventh inning when Clint Hurdle hit a two-run homer.

Pendleton's second homer of the year was also his second grand slam. It came in the fifth off reliever Joe Sambito and resulted from a collision between center fielder Terry Blocker and right fielder Danny Heep. The two crashed as the ball hit Blocker's glove.

X-rays showed a deep bruise of the quadriceps tendon above Blocker's left knee. New York Manager Davey Johnson said Blocker probably would be placed on the disabled list so the Mets could make a roster change for more pitching help.

In the first game, Gooden (9-3) won his third straight, lowering his ERA to 1.67 and increasing his strikeout total to 105.

In three previous games against the Cardinals this year, Gooden was 0-1. "I think it's because we always face Dwight in daylight," St. Louis Manager Whitey Herzog said, "and we have good contact hitters throughout the lineup."