Codes should be entered directly from gameplay, not from the pause menu. Enter them smoothly to ensure the game recognizes them. Directional commands must be entered with the D-Pad.
Cheats can be split into five main types: (1) player cheats, such as Raise Wanted Level and Unlimited Health; (2) vehicle cheats, which include both effects and spawns; (3) pedestrian cheats, such as Aggressive Traffic and Carnival Theme; (4) gang cheats, and (5) world effect cheats, such as Night and Foggy.
Keep in mind that if you use San Andreas cheats, they may negatively affect your game or even prevent you from completing certain missions. For the best results, use a separate save file or wait until you have finished the game to activate cheats.