Updated

SACRAMENTO, Calif. (AP) James Harden had 23 points, 10 rebounds and 10 assists in his fourth triple-double of the season, and the Houston Rockets set an NBA record with 50 3-point attempts in a 117-104 victory over the Sacramento Kings on Friday night.

The Rockets went 21 of 50 from beyond the arc and came within two makes of matching the single-game record they already share with the Orlando Magic.

The Rockets made eight 3s in the first quarter, six in the second, three in the third and four in the fourth.

Trevor Ariza added 18 points and nine rebounds, while Clint Capela scored 17 points to lead Houston to its eighth win in the last nine games between the teams.

DeMarcus Cousins had 32 points and nine rebounds for Sacramento despite being hindered by foul trouble much of the second half. Cousins made four consecutive 3-pointers late in the fourth quarter when the Kings pulled within 112-104.