02.11.2013, 17:08
Sure you can. y_ini loves name value pairing, so if you have information saved like this in a ban file
ini_load ban file, get player ip, ini_string player ip, isnull check if empty (if not, ban!).
If you save ips like this
you'll need to open the file, loop through each line, and compare each ip if it matches the player ip.
Quote:
Originally Posted by ban.ini
192.168.0.10 = John_Green
|
If you save ips like this
Quote:
Originally Posted by ban.ini
192.168.0.10
192.168.0.14 |