There is no cheat code to spawn the Hydra (Antonov) in the PS2 version of GTA: San Andreas.
FLYINGFISH / JUMPJET depending on version), but **Rockstar removed all vehicle spawn cheats from the PS2/Xbox versions** to encourage mission progression.JUMPJET or FLYINGFISH during gameplay.