Skip to content
/SLASHPLAY

How to give yourself items in L4D2

With sv_cheats 1 set on the server, type give rifle_ak47 or give health in your own game console.

give

Gives an item or weapon to the player who types it, such as give health.

give <item>

Examples

give health

Full health.

give rifle_ak47

An AK-47.

give first_aid_kit

A first aid kit.

Arguments

itemRequired
The item's name, such as health, ammo or a weapon name.

What it does

Use it to test weapons or top a player back up.

Good to know

  • A player types it in their own game console while on the server, with sv_cheats 1 set there. It acts on whoever types it, so it does nothing from the Console tab.

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 left4dead2/cfg/server.cfg. New to this? Start a L4D2 server first.

Your own
L4D2 server.

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