The man was walking in the 4100 block of Keeler Avenue about 1:10 a.m. when a man drove up in a blue Honda Prelude and issued a gang challenge, according to San Diego police Officer Dino Delimitros.
The man in the car then got out of the vehicle and opened fire on the victim, striking him three times in the hand and leg, Delimitros said in a statement.
The victim was found less than a block from Chavez Elementary.
The gunman remain on the loose, according to police.
None of the wounds were life-threatening, he said.
Gang detectives were investigating.