Skip to content
/SLASHPLAY

How to get infinite ammo in Left 4 Dead

Type sv_cheats 1, then sv_infinite_ammo 1 in the Console tab of the server page.

sv_infinite_ammo

With 1, the weapon a player holds never runs out of ammo. Off by default.

sv_infinite_ammo <0|1>

Examples

sv_infinite_ammo 1

Infinite ammo.

Values

ValueWhat it does
0Default Off
1 On

Arguments

0|1Required
1 turns it on, 0 off.

What it does

Applies to every player on the server.

Good to know

  • Needs sv_cheats 1 on the server. Turning sv_cheats off resets it to its default, so a server.cfg line only sticks below sv_cheats 1, which opens every cheat to every player.

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to left4dead/cfg/server.cfg: the game ships without one, so upload your own with the file manager. New to this? Start a L4D server first.

Your own
L4D server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.