Three people were detained Monday on suspicion of assault with a deadly weapon on peace officers after they allegedly shot at the department’s headquarters from a car just after midnight.