The small Central American country with one of the worst murder rates in the world went 24 hours without a single homicide, a police official says.