[FilterScript] Anti Rcon 3X
#5

Quote:
Originally Posted by Kuddy
Посмотреть сообщение
Eu acho que vocк sу poderia estar zuando ao publicar isso cara...

Mesmo que seu FS funcionasse, ele seria desoptimizado.. nгo sei daonde vc tirou foreach nisso.

Maneira correta:
pawn Код:
new tentativas[MAX_PLAYERS];

public OnRconLoginAttempt(ip[], password[], success)
{
    if(!success) tentativas[playerid] ++;
    if(tentativas[playerid] == 2) return Ban(playerid);
    return 1;
}

public OnPlayerConnect(playerid) return tentativas[playerid] = 0;
Errado tambйm.
Reply


Messages In This Thread
Anti Rcon 3X - by dEvasT._ - 30.05.2013, 20:45
Re: Anti Rcon 3X - by Caio_Freeze - 30.05.2013, 20:51
Re: Anti Rcon 3X - by Kuddy - 30.05.2013, 21:00
Re: Anti Rcon 3X - by eDlAndrePawno - 30.05.2013, 21:02
Re: Anti Rcon 3X - by leonardo1434 - 30.05.2013, 21:13
Re: Anti Rcon 3X - by Kuddy - 30.05.2013, 21:15
Re: Anti Rcon 3X - by Delete_ - 31.05.2013, 04:15
Re: Anti Rcon 3X - by .FuneraL. - 31.05.2013, 04:48
Re: Anti Rcon 3X - by dEvasT._ - 31.05.2013, 14:06
Re: Anti Rcon 3X - by Schocc - 31.05.2013, 15:57

Forum Jump:


Users browsing this thread: 1 Guest(s)