Select "Options" at the main menu, then "Keyboard/Mouse". Enable the "Allow Developers Console" option. Press ~ during game play to access the console window. Enter one of the following cheats.
Effect Code
Set maximum range of Smoker's tongue attack - tongue_range [number] Set amount of damage done to survivors - z_pounce_damage [number] Set amount of time before a burning Witch dies from fire - z_witch_burn_time [number] Change zombie health - z_health [number] Change zombie speed - z_speed [number] Toggle controllable Boss Infected on any map - director_no_human_zombies [0 or 1] Toggle never ending panics - director_panic_forever [0 or 1] Force panic event - director_force_panic Full ammunition - give ammo Spawn pistol - give pistol Get ammo for primary weapon - impulse 101 Spawn automatic shotgun - give autoshotgun Spawn first aid kit - give first_aid_kit Spawn full health - give health Spawn gas can - give gascan Spawn hunting rifle - give hunting_rifle Spawn Molotov cocktail - give molotov Spawn oxygen tank - give oxygentank Spawn pain pills - give_pain_pills Spawn pipe bomb - give pipe_bomb Spawn propane tank - give propanetank Spawn MK 47 machine gun - give rifle Spawn SMG - z_spawn weapon_SMG Invincibility - god Toggle receive damage but cannot die - buddha [0 or 1] Bot teammates shoot nonstop - sb_openfire or open_fire No mob rushes - director_no_mobs [0 or 1] Disable third person view - firstperson Remove all bots - Ent_Remove Set damage for a Witch's attack does - z_witch_damage [number] Third person view - thirdperson Over the shoulder third person view - thirdpersonshoulder Set maximum number of regular zombies - z_common_limit [number] Set maximum health of tank - z_tank_health [number] Toggle if bots can do friendly fire damage - sb_friendlyfire [0 or 1] Disable all wanderers, mobs, specials, and Bosses - director_stop Spawn a zombie - z_spawn zombie Spawn active pipe bomb under you - boom Spawn special Infected - z_spawn [Boss name] Spawn a zombie horde - z_spawn mob Spawn Boomer - z_spawn boomer Spawn Hunter - z_spawn hunter Spawn Smoker - z_spawn smoker Spawn Tank - z_spawn tank Toggle No Clipping mode - noclip Toggle unlimited ammunition - sv_infinite_ammo [0 or 1]