GetClientUserId Function

Retrieves a client's user id, which is an index incremented for every client that joins the server.

int GetClientUserId(int client)

Parameters

int client

Player index.

Return Value

User id of the client.

Errors

If the client is not connected or the index is invalid.