GetUserAdmin Function

Retrieves a client's AdminId.

AdminId GetUserAdmin(int client)

Parameters

int client

Player's index.

Return Value

AdminId of the client, or INVALID_ADMIN_ID if none.

Errors

Invalid client index, or client not connected.