Garry's Mod

Garry's Mod

NPC Counter
16 Comments
VeXan  [author] 12 Jul @ 12:24pm 
it works perfectly :)
Spectral92 10 Jul @ 6:33am 
doesnt work very well btw.. >:/
Alex_chan [RU] 16 May @ 8:48am 
hi, can you add it so that it counts nextbots?
fordon greeman 24 Mar, 2024 @ 2:26pm 
lmao.
VeXan  [author] 20 Dec, 2022 @ 7:32pm 
you're so very welcome
76561198167566727 20 Dec, 2022 @ 5:42am 
code stolen, ty
tristantyler05 21 Jul, 2022 @ 2:30pm 
Nevermind.
VeXan  [author] 20 Jul, 2022 @ 5:15pm 
by changing the code
tristantyler05 20 Jul, 2022 @ 10:03am 
How do you change the font?
Detective Mittens 20 Mar, 2022 @ 6:03pm 
@atp zombie Holy fuck that's actually a really handy command!! thanks
ATP 22 Dec, 2021 @ 9:41am 
ok
VeXan  [author] 22 Dec, 2021 @ 9:37am 
It was made by request for someone, not you.
ATP 21 Dec, 2021 @ 12:26pm 
why do you need this?

lua_run local number = 0 for i,v in pairs(ents:GetAll()) do if v:IsNPC() then number = number + 1 end end print(number)

run that in the console
tristantyler05 29 May, 2021 @ 11:17pm 
What does this do? Count the NPCs in the map?
VeXan  [author] 9 Dec, 2020 @ 5:44pm 
Make it yourself, nerd
Delta7x 9 Dec, 2020 @ 5:35pm 
Where's the config and cool font?