Player/GetCount

From Garry's Mod
Jump to: navigation, search
 Player:GetCount( )

Description

This function or feature is only available in the Sandbox gamemode and its derivatives.

Gets total count of entities of same class.

Arguments

string type

Entity type to get count of.

Arguments

number minus=0

If specified, it will reduce the counter by this value. Works only serverside.
Personal tools
Navigation