Garry's Mod Wiki

Player:GetCount

Player:GetCount( string type, number minus = 0 )

Description

Gets total count of entities of same class.

Arguments

1 string type
Entity type to get count of.
2 number minus = 0
If specified, it will reduce the counter by this value. Works only serverside.

Page Links


Special Pages


Wikis

?

Render Time: 37ms

DB GetPage 3
Generate Html 10
SaveChanges (1) 9
Render Body 0
Render Sidebar 12