Anty Flood (example: aaaaaaaaaa)
#7

PHP код:
new FloodTC[MAX_PLAYERS]
    
FloodCnt[MAX_PLAYERS];

public 
OnPlayerText(playerid,text[]){
    if(
GetTickCount()-FloodTC[playerid] < 250){
        
FloodTC[playerid]=GetTickCount();
        if(++
FloodCnt[playerid]==3)Kick(playerid);
        else 
scm(playerid,-1,"STOP FLOODING!");
        return 
0;
    }
    
FloodCnt[playerid]=1;
    
FloodTC[playerid]=GetTickCount();
    return 
1;

Reply


Messages In This Thread
Anty Flood (example: aaaaaaaaaa) - by Zamek - 10.10.2017, 15:46
Re: Anty Flood (example: aaaaaaaaaa) - by Prokill911 - 10.10.2017, 16:17
Re: Anty Flood (example: aaaaaaaaaa) - by n00blek - 10.10.2017, 16:31
Re: Anty Flood (example: aaaaaaaaaa) - by Zamek - 10.10.2017, 16:32
Re: Anty Flood (example: aaaaaaaaaa) - by Jefff - 10.10.2017, 17:23
Re: Anty Flood (example: aaaaaaaaaa) - by AndreiWow - 10.10.2017, 17:26
Re: Anty Flood (example: aaaaaaaaaa) - by CodeStyle175 - 10.10.2017, 17:31
Re: Anty Flood (example: aaaaaaaaaa) - by Zamek - 10.10.2017, 17:51
Re: Anty Flood (example: aaaaaaaaaa) - by Prokill911 - 10.10.2017, 17:52
Re: Anty Flood (example: aaaaaaaaaa) - by Jefff - 10.10.2017, 23:35

Forum Jump:


Users browsing this thread: 2 Guest(s)