How to give yourself weapons in TF2
With sv_cheats 1 on, type give tf_weapon_rocketlauncher in your game console to get that weapon. Weapons from other classes may not work properly.
give
Hands your player an item or weapon entity by class name.
give <item_name> Examples
give tf_weapon_rocketlauncher Give a rocket launcher.
Arguments
item_nameRequired- Entity class name, for example tf_weapon_rocketlauncher.
What it does
Mostly used for testing. Weapons from other classes may not work properly, and it needs sv_cheats 1 on a server.
The game's own description: Give item to player. Arguments: <item_name>
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 tf/cfg/server.cfg. New to this? Start a TF2 server first.
Your own
TF2 server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.