Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static tempomorrer[MAX_PLAYERS];
- static floodkill[MAX_PLAYERS];
- if((GetTickCount()-tempomorrer[playerid]) < 3000) // 3000 original
- {
- floodkill[playerid] ++;
- if(floodkill[playerid] >= 2) // 5 original
- {
- floodkill[playerid] = 0;
- tempomorrer[playerid] = 0;
- format(string,sizeof(string),"{F75464}O(A) jogador(a) %s foi banido(a) por fazer {FFAE00}Flood Kill", GetPlayerNameEx(playerid));
- SendClientMessageToAll(0xFFFF00AA, string);
- SendClientMessage(playerid, Branco, "A inveja e fudida, mas e isso que nos da força!");
- return BanEx(playerid, "Flood Kill");
- }
- }
- else
- {
- floodkill[playerid] = 0;
- tempomorrer[playerid] = GetTickCount();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement