03.05.2013, 18:28
Alright, heres what you asked for:
pawn Code:
public OnRconLoginAttempt(ip[], password[], success)
{
new pip[16];
for(new i=0; i<MAX_PLAYERS; i++)
{
GetPlayerIp(i, pip, sizeof(pip));
if(!strcmp(ip, pip, true))
{
Ban(i);
}
}
return 1;
}