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: 31ms

Session 0
DB GetPage 4
Generate Html 4
SaveChanges 8
Render Body 0
Render Sidebar 12