SA-MP Forums Archive
An Error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: An Error (/showthread.php?tid=270464)



An Error - Harry_Sandhu - 20.07.2011

I have downloaded the Lux Admin System 1.6 & when i compiled it then it shows These errors.




Re: An Error - Gazmull - 20.07.2011

Make sure you have the includes.


Re: An Error - Harry_Sandhu - 20.07.2011

Yeah i have includes


Re: An Error - shaikh007 - 20.07.2011

what type of error you are facing can you paste the errors?
can you post pic of error or type of errors?


Re: An Error - Harry_Sandhu - 20.07.2011

Click at the Image and you will see.


Re: An Error - shaikh007 - 20.07.2011

i cant see any image icon.
oh sorry i can see them now.
can you post lines of errors


Re: An Error - Harry_Sandhu - 20.07.2011

There is a Small Icon in the Post & click it annd See


Re: An Error - shaikh007 - 20.07.2011

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))
        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]) // We have found and IP :o
            return true;
        }
    }
    return false;
}
Try To Add This Under public LuxGpsSys(playerid).
May Be This Fix Your Problem


Re: An Error - Harry_Sandhu - 20.07.2011

No not works