Anti server advertise(not working)
#1

this is what i have

Код:
public OnPlayerText(playerid, text[])
{
   	new ip[15];
    if(ipmatch(text, ip))
    {
    SendClientMessage(playerid, COLOR_RED, "Server Advertiseing is not allowed!");
	return 1;
    }
for my anti server advertise this is for normal chat but when the player says the ip it still shows how would i replace what he says with something like "*" or "#" something to block out what they said?
Reply
#2

Change return 1 to return 0.
Reply
#3

for(new i=0; i<strlen(text); i++)
{

something like that.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)