Some kind of "duck"
#1

Hi, im looking for some kind of duck, that if you should tell some ip on server, your account will be locked. Does someone have something like that, and maybe you can explain me how it works too than?

Thanks i appreciate your help!
Reply
#2

Please people! Need help fast!
Reply
#3

I don't see where you are getting the word duck for this.
Reply
#4

Ok, maybe duck isn't the right word, but maybe you have something like that? If someone should tell his ip on server, than his account will be locked automatically. You know what I mean?
Reply
#5

You mean an anti-advertising script? There are many on this forum, use the search button.
Reply
#6

Yeah I see what you mean. You can search a player's text every time he types something for certain words. Ip's might be kinda harder. You could block his message if it has the word 'ip' in it. But you can't really just block him from typing any ip. At least not easily.

pawn Код:
public OnPlayerText(playerid, text[])
{
  if(strfind(text,"ip",true)!= -1 )
  {
    return 0;
  }
  return 1;
}
That would block his message if he typed the word ip. You could check and see if he typed a period, then see if there were 3 numbers before that and that would work pretty well I think. Other then that, you could try spam control or just get more admins.
Reply
#7

One of the members on Balcan SA:MP forum (JoeBullet) posted an anti-ip-advertising script which requires an sscanf plugin. I've never tried it, but you can try it out yourself - http://balkan-samp.com/forum/index.php?topic=2921.0
The text is in the Croatian language which you probably don't understand, just copy the code and download the sscanf plugin by ******.
Reply
#8

Got it, thanks for your help!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)