Some kind of "duck"
#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


Messages In This Thread
Some kind of "duck" - by sass839 - 25.02.2010, 23:35
Re: Some kind of "duck" - by sass839 - 25.02.2010, 23:55
Re: Some kind of "duck" - by Backwardsman97 - 26.02.2010, 00:02
Re: Some kind of "duck" - by sass839 - 26.02.2010, 00:06
Re: Some kind of "duck" - by Correlli - 26.02.2010, 00:08
Re: Some kind of "duck" - by Backwardsman97 - 26.02.2010, 00:11
Re: Some kind of "duck" - by Correlli - 26.02.2010, 00:17
Re: Some kind of "duck" - by sass839 - 26.02.2010, 00:21

Forum Jump:


Users browsing this thread: 1 Guest(s)