anti adv problem
#5

Quote:
Originally Posted by Alpay0098
Посмотреть сообщение
As Ralfie said: (This code goes below OnPlayerText)
PHP код:
if(IsPlayerFlooding(playerid) && !IsPlayerAdmin(playerid))
    {
        
SendClientMessage(playerid0xFFFFFFFF"* You only can send message every 2 seconds.");
        return 
0;
    } 
You can define IsPlayerFlooding (I think you're done with this ...) in advance.
This is an anti spam protection. There should be a limit in the text on the server you're managing.
Reply


Messages In This Thread
anti adv problem - by SNAKE12 - 06.06.2015, 19:37
Re: anti adv problem - by suni - 06.06.2015, 19:39
Re: anti adv problem - by Evocator - 06.06.2015, 21:14
Re: anti adv problem - by Alpay0098 - 06.06.2015, 21:36
Re: anti adv problem - by Konverse - 06.06.2015, 21:39
Re: anti adv problem - by Alpay0098 - 06.06.2015, 21:51

Forum Jump:


Users browsing this thread: 1 Guest(s)