Garry's Mod Wiki

Garry's Mod Wiki

  Player:AddCount( string str, Entity ent )

Description

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.

Arguments

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...