GetNetworkFirstClient

Description

Returns the Client ID of the first client in the client list. Use this function to start going through the list of clients and continue with GetNetworkNextClient until it returns 0. It is very important that once this command is called GetNetworkNextClient is called until it returns 0 as the background network code cannot continue until it knows you are finished with the client list.

The local client will also be returned at some point, which can be detected by comparing the returned ID with GetNetworkMyClientID. The host client will also be returned at some point which can be detected by comparing the returned ID with GetNetworkServerID.

Definition

integer GetNetworkFirstClient( iNetID )

Parameters