[Pedido] Proteзгo contra divulguer IP.
#6

Melhor..

pawn Код:
public OnPlayerText ( playerid, text[])
{
    static cell [ 120 ], Nome [ 20+1 ] ;

    new sizes_s = strlen(text) ;
    new cont = 0;
    for (new i = 0 ; i <= sizes_s; i++) if ((text[ i ] >= 47) && (text[ i ] <= 58)) cont++;
    GetPlayerName ( playerid, Nome, 21 ) ;
    if (cont >= 8 && cont <= 16)
    {
        for (new xs = 0; xs <= sizes_s; xs++) if((text[ xs ] == 46) || (text[ xs ] == 58))
        {
            Kick ( playerid ) ;
            return false;
        }
    }
    return 1;
}
By Bruno
Reply


Messages In This Thread
Proteзгo contra divulguer IP. - by Ley - 05.07.2013, 03:12
Re: Proteзгo contra divulguer IP. - by Standby - 05.07.2013, 03:30
Re: Proteзгo contra divulguer IP. - by Ley - 05.07.2013, 04:55
Re: Proteзгo contra divulguer IP. - by Knight97 - 05.07.2013, 10:50
Re : Proteзгo contra divulguer IP. - by ThiagoMK - 05.07.2013, 16:28
Re: Proteзгo contra divulguer IP. - by smiiir - 05.07.2013, 16:35
Re: Proteзгo contra divulguer IP. - by Gii - 05.07.2013, 20:27
Re: Proteзгo contra divulguer IP. - by smiiir - 05.07.2013, 22:06
Re: Proteзгo contra divulguer IP. - by StrondA_ - 05.07.2013, 23:05

Forum Jump:


Users browsing this thread: 1 Guest(s)