If pedestrians are illegally crossing in the middle of the street instead of in a crosswalk, you:
Must stop for them.
Do not have to stop for them.
Should honk your horn at them.
You must yield to pedestrians at all times. If the pedestrians are jaywalking or crossing the street where they should not be, you must still stop for them.