How to spawn NPCs past the Sandbox limit in GMod
With sv_cheats 1 on, type npc_create npc_headcrab in your game console to create a headcrab where you look, ignoring sbox_maxnpcs.
npc_create
Creates an NPC of the given class where you are looking; needs sv_cheats 1.
npc_create <class> Examples
npc_create npc_headcrab Spawn a headcrab.
Arguments
classRequired- NPC class name such as npc_zombie or npc_citizen.
What it does
The engine's own NPC spawner, which bypasses Sandbox limits. Most players use the spawn menu or gmod_spawnnpc instead.
The game's own description: Creates an NPC of the given type where the player is looking (if the given NPC can actually stand at that location). Note that this only works for npc classes that are already in the world. You can not create an entity that doesn't have an instance in the level. Arguments: {npc_class_name}
Run it on your server
On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to garrysmod/cfg/server.cfg. New to this? Start a GMod server first.
Your own
GMod server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.