new playerip[20];GetPlayerIp(playerid, playerip, sizeof(playerip));new File:banfile;banfile = fopen("ban.cfg", io_append);fwrite(banfile, playerip);fclose(banfile);