Kento-Rankme
Kento-Rankme copied to clipboard
Add additional check for valid clients
Sometimes IsClientInGame throws the following exception: Client index 0 is invalid
. This can happen if the client is not found based on the userid, which means "0" will be returned from GetClientOfUserId. 0 is not a valid client though, so IsClientInGame does not like it.