Player.Give

From GMod Wiki

Revision as of 23:22, 5 March 2011 by Lexi (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax Player:Give( String item )
Description:
Give the player an item.
Returns: Entity
In Object: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.Give]Player.Give [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionThis example will give the player a crowbar.
Used onNewerServer.png
Code
Player:Give("weapon_crowbar")
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox