hlmod.hu
https://hlmod.hu/

Steam id lanosok tiltása
https://hlmod.hu/viewtopic.php?f=9&t=23120
Oldal: 1 / 1

Szerző:  |E|xTazYyyy^.~ [ 2015.12.22. 19:57 ]
Hozzászólás témája:  Steam id lanosok tiltása

Üdv. Hogyan birok letiltani a Steam id lanosokat? :)

Szerző:  SmaCk [ 2015.12.22. 20:03 ]
Hozzászólás témája:  Re: Steam id lanosok tiltása

  1. #include <amxmodx>
  2.  
  3. #define PLUGIN "NO HLTV and ID_LAN"
  4. #define VERSION "1.0"
  5. #define AUTHOR "mforce"
  6.  
  7.  
  8. public plugin_init() {
  9.     register_plugin(PLUGIN, VERSION, AUTHOR)
  10. }
  11.  
  12. public client_authorized(id) {
  13.     if(!is_user_bot(id)) {
  14.         new steamid[32];
  15.         get_user_authid(id, steamid, charsmax(steamid));
  16.  
  17.         if(equal(steamid, "HLTV") || equal(steamid, "STEAM_ID_LAN") || equal(steamid, "VALVE_ID_LAN")) {
  18.             server_cmd("kick #%d ^"Tolts le ujabb klienst!^"", get_user_userid(id))
  19.         }
  20.     }
  21. }

Szerző:  alfaanero [ 2015.12.22. 20:05 ]
Hozzászólás témája:  Re: Steam id lanosok tiltása

Volt már ilyen téma, most teloról nem akarok keresgélni, de dprotoban lehet beállitani es nem kell plugin.

Szerző:  |E|xTazYyyy^.~ [ 2015.12.22. 21:29 ]
Hozzászólás témája:  Re: Steam id lanosok tiltása

SmaCk írta:
  1. #include <amxmodx>
  2.  
  3. #define PLUGIN "NO HLTV and ID_LAN"
  4. #define VERSION "1.0"
  5. #define AUTHOR "mforce"
  6.  
  7.  
  8. public plugin_init() {
  9.     register_plugin(PLUGIN, VERSION, AUTHOR)
  10. }
  11.  
  12. public client_authorized(id) {
  13.     if(!is_user_bot(id)) {
  14.         new steamid[32];
  15.         get_user_authid(id, steamid, charsmax(steamid));
  16.  
  17.         if(equal(steamid, "HLTV") || equal(steamid, "STEAM_ID_LAN") || equal(steamid, "VALVE_ID_LAN")) {
  18.             server_cmd("kick #%d ^"Tolts le ujabb klienst!^"", get_user_userid(id))
  19.         }
  20.     }
  21. }


Köszönöm. ;) ment a kéz

Szerző:  Mr.Hurka [ 2017.04.20. 11:23 ]
Hozzászólás témája:  Re: Steam id lanosok tiltása

Köszi a régi időket.:) metal

  1. #include <amxmodx>
  2. #include <amxmisc>
  3.  
  4. public plugin_init()
  5. {
  6.    register_plugin("KICK", "1.0", "Metal");
  7. }
  8.  
  9. public client_putinserver(id)
  10. {
  11.    new userauthid[32];
  12.    get_user_authid(id, userauthid, 31);
  13.  
  14.    if ( contain(userauthid, "VALVE_ID_LAN") != -1 || equal(userauthid, "HLTV"|| contain(userauthid, "STEAM_ID_LAN") != -1 )
  15.    {
  16.       client_print(id, print_console, "Ez a kliens nem engedelyezett! Tolts le ezt: http://www.mediafire.com/file/gcqlrp7pv ... Strike.rar"&#41;;
  17.       server_cmd("kick #%d", get_user_userid(id));
  18.    }
  19.  
  20.    return PLUGIN_CONTINUE;
  21. }
  22. /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
  23. *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1038\\ f0\\ fs16 \n\\ par }
  24. */

Oldal: 1 / 1 Minden időpont UTC+02:00 időzóna szerinti
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/