NPC.Give

From GMod Wiki

Revision as of 04:14, 22 July 2010 by Enjia2000 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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