Gamemode.PlayerSpawnedNPC
From GMod Wiki
| 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.