Garry's Mod Wiki


  Player:AddCount( string str, Entity ent )


This function is only available in Sandbox and its derivatives.

Adds an entity to the player's list of entities of the same type. See Player:GetCount to get the current count of entities of an entity type added with this function.


1 string str
The type of this Entity.
2 Entity ent
The Entity you want to add to the list.