Advertisement
DraKiNs

[COD] Kickar Players Bot

Jul 7th, 2011
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.37 KB | None | 0 0
  1. if(!strcmp(cmdtext, "/kick-bots", true))
  2. {
  3.     if(!IsPlayerAdmin(playerid)) return false;
  4.  
  5.     for(new i = 0; i != MAX_PLAYERS; i++)
  6.     {
  7.         if(!IsPlayerConnected(i) || GetPlayerPing(i)) continue;
  8.         Kick(i);
  9.     }
  10.     return SendClientMessageToAll(0xFFFFFFFF, "Todos jogadores com ping 0 kickados"), true;
  11. }
  12.  
  13. // By Bruno da Silva
  14. // www.ips-team.blogspot.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement