player.GetCountConnecting
Description
Returns the amount of players connecting to the server, but not yet spawned in.
player.GetCountConnecting() + player.GetCount() would result in the total player count on this server.
Returns
Example
Track how many players are connecting on the client
Garry's Mod
Rust
Steamworks
Wiki Help