NPC.Give

From GMod Wiki

Jump to: navigation, search
Function
Syntax NPC:Give( String item )
Description:
Give the NPC an item.
Returns: Entity
In Object: Npc
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=NPC.Give]NPC.Give [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

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


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox