Before entering any other cheat codes in The Sims 2 on PS2, you first need to activate Gnome, a step many players overlook. Head to the pause menu and press the following buttons in order: L1, R1, UP, X, R2.
If done correctly, Gnome is now active. Exit the pause menu, and in front of the lot you should see a pole or statue. That is where you can enter cheat codes. Here are a few useful ones:
Hope this helps you get the most out of your game!