There are no cheat codes specifically for horses in Grand Theft Auto: San Andreas on PC. Horses are not a playable feature in the base game, so no cheats exist to spawn or control them.
Options:
Note: Using cheats can sometimes cause game instability or glitches.