# GetNetworkNextClient

## Description

Returns the Client ID of the next client in the client list. Use this function to continue going through the list of clients started with GetNetworkFirstClient. It is very important that this command 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 GetNetworkNextClient( iNetID )

UINT agk::GetNetworkNextClient( UINT iNetID )

## Parameters

- iNetID - The ID of the network to check.