Give

From Valve Developer Community
Revision as of 18:16, 13 February 2011 by MossyBucket (talk | contribs) (Rewrote the entire article, removing the stupid weapon lists.)
Jump to navigation Jump to search

A console command that gives the player (or, rather, spawns beneath its feet) the entity that is given as the commands parameter (typically of a weapon_, an item_ or an item_ammo_ type).

Examples:

The entities available differs greatly depending on the game engine which the command is used in.

This command is a cheat.

Tip.pngTip:Using a point_servercommand entity to "give" the player something, is usually more reliable than the point_template ForceSpawn seen in the Newgame_spawn prefab, because the give command is not bound to a physical place, whereas the point_template will dump entities at the original spawnpoint upon a buildcubemaps command.

See also