Advertisement
DraKiNs

[COD] IsPlayerFlooding

Jun 27th, 2011
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.22 KB | None | 0 0
  1. IsPlayerFlooding(tempo,iter)
  2. {
  3.     static iFlood[MAX_PLAYERS];
  4.     if((GetTickCount() - iFlood[iter]) < tempo) SendClientMessage(iter, 0xFFFFFFFF, "Erro: Por favor, não faça Flood");
  5.     return iFlood[iter] = GetTickCount();
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement