14.06.2016, 17:48
Try..
Quote:
new tmp2[100]; GetPlayerIp(playerid,tmp2,100); format(string, sizeof(string), "Bans/%s.ini", tmp2); if(fexist(string)) { new File:BanF = fopen(string, io_read); if(BanF) { fread(BanF, string); fclose(BanF); } } if(strcmp(string, "Banned.", true) == 0) { Kick(playerid); } |