Non-Admin NPC spawning restirctions

Well I tried to search, but it’s almost impossible to sum up what I wanted to know in a search term so here goes.

Is there a mod or other means of making it so other people cannot spawn NPCs except admins. I can already limit people, but it effects everyone including admins. Another method I found was to use NPC spawn platforms, as they do not count toward the NPC limit, however anyone with a toolgun could use them, they are also very time consuming to set up. I need to be able to spawn things at a moments notice.

So, anyone have an idea?

assmod

Admins have no limits

Limit NPCS = 0

**[Gamemode.PlayerSpawnNPC

http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=Gamemode.PlayerSpawnNPC)**
[lua]hook.Add(“PlayerSpawnNPC”,“StopThem!”,function(pl,class,wep)
return pl:IsAdmin()
end)[/lua]