Give

From Valve Developer Community
Revision as of 01:16, 14 February 2011 by MossyBucket (talk | contribs) (Rewrote the entire article, removing the stupid weapon lists.)

Jump to: navigation, 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: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