Garry's Mod Wiki

Revision Difference

SANDBOX:PlayerSpawnedNPC#512807

<function name="PlayerSpawnedNPC" parent="SANDBOX" type="hook">⤶ <ishook>yes</ishook>⤶ <description>Called after the player spawned an NPC.</description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="ply" type="Player">The player that spawned the NPC</arg>⤶ <arg name="ent" type="Entity">The spawned NPC itself</arg>⤶ </args>⤶ </function>⤶ ⤶