There is no cheat code to spawn a helicopter instantly in GTA San Andreas. You must acquire them in-game:
Complete Flight School at Verdant Meadows to improve piloting skill and unlock the Hunter permanently at the airfield.