GetClientOfUserId Function

Translates an userid index to the real player index.

int GetClientOfUserId(int userid)

Parameters

int userid

Userid value.

Return Value

Client value.

Errors

Returns 0 if invalid userid.