How to give yourself a weapon in Half-Life 2: Deathmatch
Set sv_cheats 1 in the Console tab, then type give weapon_rpg in your own game console.
give
Gives you a weapon or item by its entity name, for example weapon_rpg. Needs sv_cheats 1.
give <item> Examples
give weapon_rpg Gives the RPG.
give weapon_crossbow Gives the crossbow.
Arguments
itemRequired- Entity name of the weapon or item.
What it does
Handy for testing on a private server.
Good to know
- A player types it in their own game console, not in the Console tab: it acts on whoever types it.
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 hl2mp/cfg/server.cfg. New to this? Start a HL2DM server first.
Your own
HL2DM server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.