Halo 3 has no official cheat codes. However, several well-known glitches/exploits existed (many patched):
Improve legitimately: practice aim, learn map spawns, communicate with team. More rewarding and ban-free.