Things You'll Need
Instructions
Navigate to the install folder for "Call of Duty: Modern Warfare 2".
Inside the "players" folder, find the file "config.cfg". Open this file using Windows Notepad.
Add the following line to the end of the file: seta thereisacow "1337".
Continue editing the "Config.cfg" file. Add the following case-sensitive codes, which bind each cheat to a single key press (do not type the bracketed explanations):
bind g "god" (Press G to enter God mode, which makes you invincible.)
bind n "notarget" (Press N to make enemies ignore you.)
bind c "noclip" (Press C to enter no-clipping mode, which lets you pass through walls)
bind a "giveammo" (Press A to enable the "give ammo" cheat, which resupplies your weapons with ammunition.)
Save the file. Right-click the saved file, open the "Properties" tab, and change the file attribute to "Read-only". Click "OK" to save your changed settings.