09.02.2018, 10:08
Quote:
So, if I understood right, I need to make it somehow like this?
- When I ban player -> create file, save his IP into it (I guess i need GetPlayerIp) - When the banned player tries to connect, compare his IP with IP i save to string with strcmp (?) - If the comparison gets right (his IP is on list of banned ones - in the file) i kick him out If you confirm, I am hoppin on it |