12.07.2013, 02:01
(
Последний раз редактировалось GoldZoroGrab; 12.07.2013 в 14:35.
Причина: Fixed
)
And as i said in my last post make the pass so long
Letters+Numbers mixed
And use this too, when someone fails on rcon pass 3 times he gets a ban.
Letters+Numbers mixed
And use this too, when someone fails on rcon pass 3 times he gets a ban.
pawn Код:
new Attempt[MAX_PLAYERS];
public OnRconLoginAttempt(ip[], password[], success)
{
if(!success)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
Attempt[i]+=1;
if(Attempt[i]>=3)
{
Ban(i);
}
}
}
}
return 1;
}