num_clients

The current number of connected clients, including the server client; also displayed in the [F11] debug panel.

Range:

0 .. dplay_maxclients

Type:

var, read-only

Example:

PANEL* client_display =
{
 	digits (10,10,4,*,1,num_clients);
 	flags = SHOW;
} 

See also:

dplay_maxclients, num_entities

► latest version online