Anti Advertising
#1

Hey, I need some kind of anti advertising code for my server, for example if i write this into chat on my server: "Hey come to this server its much more better than this, ip is 85.226.67.59:7777"
Then i get kicked because i wrote an ip into chat.

Thanks in advance
Reply
#2

I have never looked into If It's possible, but you could check for #.#.#.# (# = number).

Because an IP always has 1stnr.2ndnr.3rdnr.4thnr .
Reply
#3

Quote:
Originally Posted by mavtias
I have never looked into If It's possible, but you could check for #.#.#.# (# = number).

Because an IP always has 1stnr.2ndnr.3rdnr.4thnr .
I know how to do that but i need something more effective
Reply
#4

http://forum.sa-mp.com/index.php?top...4037#msg634037
Reply
#5

Quote:
Originally Posted by Davee.
How to use it?
I don't really understand what Boylett is saying there (With the cells, wtf?)
Reply
#6

Quote:
Originally Posted by [NWA
Hannes ]
Quote:
Originally Posted by Davee.
How to use it?
I don't really understand what Boylett is saying there (With the cells, wtf?)
pawn Код:
public OnPlayerText(playerid)
{
     new ip[4];
    if(ipmatch(text, ip))
    {
      SendClientMessage(playerid, RED, "Your warn message here");
      return 0;
    }
     return 1;
}
Reply
#7

thnks nicee for scripting men!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)