In-Game Cheats (PC)
Console commands, item/NPC names and playing as infected.
PC cheats for Left 4 Dead.
1.Opening the Console
On the host server, at the main menu select 'Options' > 'Keyboard/Mouse' and enable 'Allow Developers Console'. In game, press ~ to open the console. Type sv_cheats 1 to enable cheat mode for everyone on your server.
2.Console Commands
| Command | Effect |
|---|---|
god | Invincibility |
buddha | Takes damage but cannot die |
impulse 10 | All weapons and ammo |
give health | Full health |
give [item name] | Give the indicated item |
noclip | Toggle no clipping |
nb_blind 1 | Infected cannot see you |
sv_infinite_ammo 1 | Unlimited ammo |
warp_all_survivors_here | Teleport all survivors to you |
warp_all_survivors_to_checkpoint | Teleport all to the nearest checkpoint |
warp_all_survivors_to_finale | Teleport all to the finale |
warptostartarea | Teleport yourself to the next chapter |
entfire self setteam 1 / 2 / 3 | Be spectator / survivor / infected |
z_spawn [NPC name] | Spawn the indicated NPC type |
z_common_limit [number] | Set number of civilians |
director_force_panic_infinite 1 | Panic never stops |
changelevel [map name] | Change map |
3.Item Names (with give)
ammo, autoshotgun, first_aid_kit, gascan, hunting_rifle, molotov, oxygentank, pain_pills, pipe_bomb, pistol, propanetank, rifle
4.NPC Names (with z_spawn)
mob, witch, tank, boomer, smoker, hunter
5.Playing as Infected
Enter the entfire self setteam 3 code. After spawning and dying, press [Jump] until the camera changes into free-roam mode. Then use z_spawn smoker / z_spawn tank / z_spawn boomer / z_spawn hunter to play as that type.

