Help Please
#1

Hello!
I need a Anti advertisement system. But when anyone advertise it should show the ip like this **.**.***.**:****
Please anyone help me.
Reply
#2

Please help me...
Reply
#3

OnPlayerText:
pawn Код:
new str[256];
new is1 = 0;
new r = 0;
while(strlen(text[is1]))
{
    if('0'<=text[is1]<='9')
    {
        new is2=is1+1;
        new p=0;
        while(p==0)
        {
            if('0'<=text[is2]<='9'&&strlen(text[is2])) is2++;
            else
            {
                strmid(str[r],text,is1,is2,255);
                if(strval(str[r])<255) r++;
                is1 = is2;
                p = 1;
            }
        }
    }
    is1++;
}
if(r>=4)
{
    for(new z=0;z<r;z++)
    {
        new pr2;
        while((pr2=strfind(text,str[z],true))!=-1) for(new i=pr2,j=pr2+strlen(str[z]);i<j;i++) text[i]='*';
    }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)