Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //=========================== AntiSpam =============================================================
- local spammer = (GetTickCount()-MSNCount[player.ID])/MSNxSEC;
- MSNPlayer[player.ID]+=spammer-1;
- if(MSNPlayer[player.ID]>LIMIT_REP_SPAM)MSNPlayer[player.ID]=LIMIT_REP_SPAM-1;
- if(MSNPlayer[player.ID]<0)MSNPlayer[player.ID]= -1;
- MSNCount[player.ID]=GetTickCount();
- if(MSNPlayer[player.ID]<0)
- {
- Message(RED+">> Auto-Muted [ " + player.Name + " ] For 20Secs Reason: [ Spamming/Flooding].");
- EchoMessage(ICOL_RED+">> Auto-Muted [ " + player.Name + " ] For 20Secs Reason: [ Spamming/Flooding].");
- status[ player.ID].Muted = true;
- NewTimer( "autounmute", 20000, 1, player.Name, player.ID );
- NewTimer( "Count1", 1000, 1, 20, player.ID );
- NewTimer( "Count1", 2000, 1, 19, player.ID );
- NewTimer( "Count1", 3000, 1, 18, player.ID );
- NewTimer( "Count1", 4000, 1, 17, player.ID );
- NewTimer( "Count1", 5000, 1, 16, player.ID );
- NewTimer( "Count1", 6000, 1, 15, player.ID );
- NewTimer( "Count1", 7000, 1, 14, player.ID );
- NewTimer( "Count1", 8000, 1, 13, player.ID );
- NewTimer( "Count1", 9000, 1, 12, player.ID );
- NewTimer( "Count1", 10000, 1, 11, player.ID );
- NewTimer( "Count1", 11000, 1, 10, player.ID );
- NewTimer( "Count1", 12000, 1, 9, player.ID );
- NewTimer( "Count1", 13000, 1, 8, player.ID );
- NewTimer( "Count1", 14000, 1, 7, player.ID );
- NewTimer( "Count1", 15000, 1, 6, player.ID );
- NewTimer( "Count1", 16000, 1, 5, player.ID );
- NewTimer( "Count1", 17000, 1, 4, player.ID );
- NewTimer( "Count1", 18000, 1, 3, player.ID );
- NewTimer( "Count1", 19000, 1, 2, player.ID );
- NewTimer( "Count1", 20000, 1, 1, player.ID );
- }
- //=======================================================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement