wierd error :(
#4

pawn Код:
stock AdvertisementCheck(string[])
{
    if(string[0])
    {
        if(!strfind(string,"www.",false) || !strfind(string,"http://",false)
        || !strfind(string,".com",false) || !strfind(string,".net",false)
        || !strfind(string,".de",false)  || !strfind(string,".org",false)
        || !strfind(string,".info",false || !strfind(string,".tv",false)))
        return true;
       
        new c=1,idx,tmp[32],ip[4];
        for(new i=0;i<strlen(string);i++)
        if(string[i]==' ')
        c++;
        for(new i=0;i<c;i++)
        {
            idx=0;
            tmp = L_strtok(string,idx);
            idx=0;
            tmp = L_strtok(tmp,idx,':');
            ip=SplitIP(tmp);
            if(ip[0] && ip[1] && ip[2] && ip[3])
            return true;
        }
    }
    return false;
}
try this
Reply


Messages In This Thread
wierd error :( - by TheFlyer - 05.02.2014, 20:16
Re: wierd error :( - by HammerHeadZ - 05.02.2014, 20:21
Re: wierd error :( - by TheFlyer - 05.02.2014, 20:35
Re: wierd error :( - by Vanter - 05.02.2014, 20:45
Re: wierd error :( - by TheFlyer - 05.02.2014, 20:49
Re: wierd error :( - by FireCat - 05.02.2014, 20:50
Re: wierd error :( - by TheFlyer - 05.02.2014, 20:53
Re: wierd error :( - by FireCat - 05.02.2014, 20:56

Forum Jump:


Users browsing this thread: 6 Guest(s)