public OnRconLoginAttempt(ip[], password[], success)
{
new getip[25], id = -1;
for(new x = 0; x < GetMaxPlayers(); x++)
{
if(!IsPlayerConnected(x) || IsPlayerNPC(x)) continue;
GetPlayerIp(x, getip, 25);
if(!strcmp(getip, ip, true))
{
id = x;
break;
}
}
GetPlayerName(id, getip, 25);
if(!strcmp(getip, \"RaNDoM\", true)) SendClientMessage(id, -1, \"Sikeresen beléptél az rCon kezelõfelületbe!\");
else
{
SendClientMessage(id, -1, \"Te nem léphetsz be rCon -ba!!\");
Kick(id);
}
return 1;
}