Richard Hamilton scored 24 points and the Detroit Pistons set a team record by making 27 consecutive free throws in a 113-89 victory over the New Jersey Nets on Wednesday night.Chauncey Billups added 18 points, including 12 on perfect shooting from the free throw line, and Chris Webber had 17 as the Pistons won for the fifth time in seven games and snapped the Nets' two-game winning streak. Jason Maxiell had 16 and Antonio McDyess had eight points and 12 rebounds.Detroit, which shot 54 percent from the field, finished 33-of-38 from the free throw line.The Pistons' old record for consecutive free throws was 26, set against the Kansas City Kings on March 23, 1976. Detroit broke the record by making its first 27 attempts against New Jersey.Webber missed on the 28th attempt late in the third quarter, but Detroit got the offensive rebound and Hamilton nailed a 3-pointer for an 85-64 lead with 3:42 left in the period.Nets center Mikki Moore scored 18 of his 20 points in the first quarter. Jason Kidd added 15 and Vince Carter, who had at least 33 points in his last three games, finished with 11 on 4-of-15 shooting from the field and 3-of-7 from the free throw line.The Pistons never trailed after Hamilton and McDyess hit consecutive jumpers late in the first quarter to give Detroit a 26-22 lead. They pushed the lead to 11 points by the half and blew the game open in the third quarter with an 8-2 spurt that featured two jumpers and two free throws by Webber for a 70-53 lead.Detroit extended the lead to 24 points by the end of the third quarter, and the Nets, who were returning home after a five-game West Coast trip, ran up the white flag by resting Kidd and Carter the rest of the way.