HOUSTON (AP) -- The Houston Rockets made history Wednesday night. Now they can go back to trying to make the playoffs.
Tracy McGrady scored 25 points and the Houston Rockets won their franchise-record 16th game, beating Indiana 117-99.
The Rockets are 4-0 since losing Yao Ming for the season with a stress fracture in his foot and have won 20 of their last 21 games, and own the longest winning streak in the NBA this season.
Houston is still clawing for a playoff spot in the tough Western conference and plays the division rival Mavericks in Dallas on Thursday night.
"It's great to have your name down in history," Rafer Alston said. "We are having some great regular-season success right now, but we know the big picture is getting it done in the postseason. You enjoy it for the moment, but you have to continue to prepare for every game."
The Rockets led by 17 at halftime, but two runs by Indiana in the third quarter got the Pacers within seven. Houston scored 11 of the last 13 points of the quarter to stretch the lead to 16 and the Pacers wouldn't threaten again.
It's Houston's seventh straight win by 10 points or more, which extends a franchise record.
"It's all about confidence," McGrady said. "We have great chemistry and guys know their roles here. We all are playing so well, we just can't really count on one guy."
All but two of McGrady's points came in the first half and he had six rebounds and five assists. Alston added 21 points and had seven assists.
"This was a big win for us, we were trying to make history," McGrady said on the court as red confetti rained down.
Houston used an 14-4 run in the first half of the fourth quarter to stretch its lead to 108-82 and send scores of fans streaming for the exits. That run included a one-handed dunk by Carl Landry that brought the crowd to its feet and ended with a long 3-pointer by Bobby Jackson.
Both teams played mostly backups after that.
Among the fans that stayed, several held signs, including one that said "Sweet 16, Go Rockets" with the 16 made out of glittering dark pink numbers.
Another sign read "Mavs, Here We Come." After Dallas on Thursday Houston hosts New Orleans Saturday.
"I think most of us are already focused on Dallas," Shane Battier said. "We know that this game, while significant, doesn't really guarantee us anything."
Houston's last 15-game winning streak was in the Rockets championship season of 1993-94.
The Pacers outscored Houston 15-6 in the opening minutes of the third quarter to cut the lead to 72-64. Indiana got a pair of 3-pointers from Danny Granger and one from Travis Diener in that span to fuel the run.
Granger and Troy Murphy had 17 points apiece to lead Indiana. Murphy also had 10 rebounds.
"I think the league anticipated a drop-off when Yao went out, but it never happened," Murphy said. "They are playing as well as any team in the league right now."
A layup by Luis Scola later in the third quarter pushed Houston's lead to 79-66. Indiana went on a 10-4 run, capped by a 3-pointer by Mike Dunleavy, to cut the lead to 83-76 with about three minutes left in the third quarter.
Houston finished the quarter by outscoring Indiana 11-2 to enter the fourth quarter with a 94-78 lead.
"They are a really good basketball team and we didn't have it," Pacers coach Jim O'Brien said. "McGrady got them started and then their momentum became a snowball effect. They are a better basketball team by a large margin."
The Rockets scored 15 straight points to break a tie and take a 51-36 lead midway through the second quarter. Luther Head made a pair of 3-pointers in the run. The Pacers had three turnovers and a bevy of missed shots in the more than three minute scoring drought.
It was 51-40 when Houston went on a 15-3 run, fueled by three 3-pointers by McGrady, to push its lead to 66-43 about a minute before halftime. Indiana scored the last six points of the half to leave Houston ahead 66-49 at halftime.
Houston's Chuck Hayes had a season-high nine points with 11 rebounds. ... Wednesday was the first time McGrady had scored more than 20 points in the first half since November. ... It was Houston's season-high for points in the first half and the game.