Gamemode.PlayerSpawnedNPC
From GMod Wiki
Revision as of 05:00, 23 June 2010 by Crazy Quebecer (Talk | contribs)
| Event Hook | |
| Hook Name | PlayerSpawnedNPC |
| Syntax | GM:PlayerSpawnedNPC( Player Entity, Npc Npc ) |
| Description | Called when a player spawned an NPC. |
| Returns | Nil |
| Lua State | |
| BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.PlayerSpawnedNPC]Gamemode.PlayerSpawnedNPC [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- This hook gets called just after the NPC is spawned.