Matching
#5

pawn Код:
stock IsBanned(ip[])
{
    new BigString[1234];
    new File:File = fopen("Bans.txt",io_read);
    while(fread(File,string))
    {
        if(strfind(string,ip))
        {
            printf("%s is banned.",ip);
        }
        else
        {
            printf("%s is not banned.",ip);
    }
    return 1;
}
Reply


Messages In This Thread
Matching - by Test23 - 23.12.2012, 17:24
Re: Matching - by Test23 - 23.12.2012, 17:49
Re: Matching - by Lynn - 23.12.2012, 17:51
Re: Matching - by Test23 - 23.12.2012, 17:53
Re: Matching - by tyler12 - 23.12.2012, 17:55
Re: Matching - by Test23 - 23.12.2012, 18:11
Re: Matching - by tyler12 - 23.12.2012, 18:29
Re: Matching - by Test23 - 23.12.2012, 20:20
Re: Matching - by Test23 - 23.12.2012, 21:45

Forum Jump:


Users browsing this thread: 4 Guest(s)