Garry's Mod Wiki
Description
Returns the active player count.
Similar to #player.GetAll() but with better performance since the player table doesn't have to be generated. If player.GetAll is already being called for iteration, then using the # operator on the table will be faster than calling this function since it is JITted.
Players who are currently connecting to the server will not be counted. See function: player.GetCountConnecting
Returns
Example
Sending message in chat every 300 secs.
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 four times a day. Edits and history are not available.
Last Parsed: Loading...