Garry's Mod Wiki

achievements.SpawnedNPC

  achievements.SpawnedNPC()

Description

This is used internally - although you're able to use it you probably shouldn't.

Adds one to the count of NPCs spawned. Once this count reaches 1000, the 'Procreator' achievement is unlocked.