You cannot enter cheat codes in The Sims 2: Castaway on console. The game does not support a cheat console or code entry system.
Embrace the challenge; it's the core of the game's design.