Player.Give

From GMod Wiki

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