Create a shortcut to the ''CoDSP.exe'' file located in the Call Of Duty program files. Right click on the shortcut and go to properties. Go to where it says ''Target'' and add the following onto the end of the existing link:
+set thereisacow 1337 +set developer 1 +set sv_cheats 1 +set monkeytoy 0
So the link should now say something like:
''C:\Program Files\Call of Duty\CoDSP.exe'' +set thereisacow 1337 +set developer 1 +set sv_cheats 1 +set monkeytoy 1
Next go into the game and bring down the console by pushing the button above ''TAB'', then enter the code from below for the desired effect.
NOTE: Some codes apparently crash the game. All of these codes worked fine for me when I tested them, so make sure you do everything correctly and they should work for you too.
ufo
Allows the player to zoom around the level, going up with jump and down with crouch.
toggle cg_draw2d Disables the on screen icons, such as radar and health. Useful for taking good screenshots.
toggle r_showLeafLights
Displays lines where the light comes through the leaves.
toggle r_showtricounts
Displays numbers on each texture.
toggle r_showportals
Displays where you can access.
notarget
enemies ignore you
give ammo
Gives the player 10 Grenades and 1 Panzerfaust. May not work on some levels / crash the game.
give all
Gives the player all weapons in the game as well as filling up health.
give (insert desried object here)
gives you a weapon, object or health
god
invulnerability
kill
Kills the player.
t
oggle r_lightmap
Makes the ground and walls white.
toggle cg_drawgun
Makes your weapons invisible. Useful for people with lag.
toggle cg_thirdperson
Puts the camera at the 3rd person view. You are usually invisible though.
toggle r_measureOverdraw
Puts the game in multi-colours.
toggle r_fastsky
Removes clouds and makes the sky lighter.
map_restart
Restarts the current level.
toggle g_entinfo
Shows scripts above all soldiers and highlights important objects.
r_vc_stats
Shows some stats about the game in the console.
toggle r_showtris
Shows the game in wireframe.
viewpos
Shows your co-ordinates in the console.
toggle r_lockpvs
Some textures turn invisible.
toggle cg_drawshader
Tells you what each texture is.
noclip
walk through walls [/u]