Garry's Mod Wiki

SANDBOX:PlayerSpawnedNPC

  SANDBOX:PlayerSpawnedNPC( Player ply, Entity ent )

Description

Called after the player spawned an NPC.

Arguments

1 Player ply
The player that spawned the NPC
2 Entity ent
The spawned NPC itself