IsClientConnected Function

Returns if a certain player is connected.

bool IsClientConnected(int client)

Parameters

int client

Player index.

Return Value

True if player is connected to the server, false otherwise.

Errors

Invalid client index.