SA-MP Forums Archive
Anti Advertisement - 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: Anti Advertisement (/showthread.php?tid=251416)



Anti Advertisement - Alex_Obando - 26.04.2011

Is some one put an IP in the main chat send this:

xxx.xxx.xxx.xxx

Number : x


Re: Anti Advertisement - [L3th4l] - 26.04.2011

Either use search and learn from MANY of the stocks you are looking for, or post here what you got so far. This is NOT A SCRIPT REQUEST FORUM. There's a thread for that!


Re: Anti Advertisement - Ash. - 26.04.2011

I would normally assist, no matter what the ircumstance. However i refuse to help people that scam the brilliant SAMP community, so i will suggest you to use search.


Re: Anti Advertisement - Mean - 27.04.2011

Credits to creator of this ( I think it's RyDeR )
pawn Код:
stock detectIP(text[])
{
    new
        dotCount
    ;
    for(new i; text[i] != 0; ++i)
    {
        if('0' <= text[i] <= '9')
        {
            do
            {
                if(text[i] == '.') ++dotCount;
                ++i;
            }
            while(('0' <= text[i] <= '9') || text[i] == '.' || text[i] == ':');
        }
        else dotCount = -1;
    }
    return (dotCount > 2);
}



Respuesta: Anti Advertisement - Alex_Obando - 27.04.2011

When I type an IP in the server I can see the normal IP...