28.09.2012, 00:19
There are cases reported where checking the IP does not work in OnPlayerConnect (and OnPlayerDisconnect). Also, most of the times when you kick someone in OnPlayerConnect it just says that it lost connection to the server and retries to join it.
To be sure if a player is banned (I think that is what you are checking but I have no idea because my (Spanish?) isn't ......... well, I don't speak (Spanish?) at all..) and keeping him away from the server, put this code in either a timer or in OnPlayerRequestClass (which they are bound to end up when they are done with OnPlayerConnect)
To be sure if a player is banned (I think that is what you are checking but I have no idea because my (Spanish?) isn't ......... well, I don't speak (Spanish?) at all..) and keeping him away from the server, put this code in either a timer or in OnPlayerRequestClass (which they are bound to end up when they are done with OnPlayerConnect)