[AJUDA] strfind
#2

Mais prбtico:

pawn Код:
public OnPlayerConnect(playerid)
{
        if(strfind(Nome(playerid),"clock$",true) != -1)
    {
        Ban(playerid);
    }
    if(strfind(Nome(playerid),"prn",true) != -1)
    {
        Ban(playerid);
    }
    if(strfind(Nome(playerid),"Carl",true) != -1)
    {
        Ban(playerid);
    }
    if(strfind(Nome(playerid),"con",true) != -1)
    {
        Ban(playerid);
    }
    if(strfind(Nome(playerid),"SgtPepper",true) != -1)
    {
        Ban(playerid);
    }
        return 1;
}
Reply


Messages In This Thread
[AJUDA] strfind - by Crueliz0n - 11.06.2012, 12:55
Re: [AJUDA] strfind - by Delete_ - 11.06.2012, 13:09
Re: [AJUDA] strfind - by Don_Speed - 11.06.2012, 13:14
Re: [AJUDA] strfind - by Schocc - 11.06.2012, 13:14
Re: [AJUDA] strfind - by Crueliz0n - 11.06.2012, 13:21
Re: [AJUDA] strfind - by rjjj - 11.06.2012, 13:30
Re: [AJUDA] strfind - by Crueliz0n - 11.06.2012, 13:39

Forum Jump:


Users browsing this thread: 1 Guest(s)