23.12.2010, 02:14
Hiitchy you are a noob! 
Anyway if you used Ban(playerid); , it is impossible to join back from this IP.

pawn Код:
new
string[128], //optional; if you have a global query, delete this
pIP[16]; //for player IP
GetPlayerIp(playerid, pIP, 16);
format(string, 128, "SELECT COUNT(*) from TableName WHERE active = 1 AND IP='%s'",pIP);
mysql_query(string);
mysql_store_result();
new banned = mysql_fetch_int();
mysql_free_result();
if(banned)
{
Kick(playerid);
return 1;
}