hlmod.hu
https://hlmod.hu/

Steam ID Váltó Ellen.
https://hlmod.hu/viewtopic.php?f=29&t=27196
Oldal: 1 / 1

Szerző:  DR.AnimaL [ 2017.02.06. 12:30 ]
Hozzászólás témája:  Steam ID Váltó Ellen.

Sziasztok, nekem 1 olyan plugin \ Modul kellene ami ban után nem tudnak vissza jönni az emberkék, és egyben érzékelje hogy "Steam ID Changerrel" játszik az illető és kickelje!

Hosztolt szerverhez kéne!

Köszönöm szépen!

Szerző:  SmaCk [ 2017.02.06. 13:43 ]
Hozzászólás témája:  Re: Steam ID Váltó Ellen.

rehlds-en javaslom rechecker-t és egyéb barátait
  1. #include <amxmodx>
  2.      
  3. new const PLUGIN[] = "Low Category SteamID Changer Block"
  4. new const VERSION[] = "1.0"
  5. new const AUTHOR[] = "mforce"
  6.      
  7. new Trie:g_IP, Trie:g_SteamID;
  8.      
  9.    
  10. public plugin_init() {
  11.     register_plugin(PLUGIN, VERSION, AUTHOR);
  12.     g_IP = TrieCreate();
  13.     g_SteamID = TrieCreate();
  14. }    
  15. public client_authorized(id) {
  16.     if(is_user_bot(id)) return;
  17.        
  18.     new ip[32]; get_user_ip(id, ip, charsmax(ip), 1)
  19.     new steamid[32]; get_user_authid(id, steamid, charsmax(steamid));
  20.        
  21.     if(!TrieKeyExists(g_IP, ip)) {
  22.         TrieSetCell(g_IP, ip, 1);
  23.         TrieSetCell(g_SteamID, steamid, 1);
  24.     }
  25.     else if(!TrieKeyExists(g_SteamID, steamid)) {
  26.         server_cmd("kick #%d ^"SteamID valtas.^"", get_user_userid(id));
  27.     }
  28. }
  29.      
  30. public plugin_end() {
  31.     TrieDestroy(g_IP);
  32.     TrieDestroy(g_SteamID);
  33. }

Szerző:  DR.AnimaL [ 2017.02.06. 14:16 ]
Hozzászólás témája:  Re: Steam ID Váltó Ellen.

SmaCk írta:
rehlds-en javaslom rechecker-t és egyéb barátait
  1. #include <amxmodx>
  2.      
  3. new const PLUGIN[] = "Low Category SteamID Changer Block"
  4. new const VERSION[] = "1.0"
  5. new const AUTHOR[] = "mforce"
  6.      
  7. new Trie:g_IP, Trie:g_SteamID;
  8.      
  9.    
  10. public plugin_init() {
  11.     register_plugin(PLUGIN, VERSION, AUTHOR);
  12.     g_IP = TrieCreate();
  13.     g_SteamID = TrieCreate();
  14. }    
  15. public client_authorized(id) {
  16.     if(is_user_bot(id)) return;
  17.        
  18.     new ip[32]; get_user_ip(id, ip, charsmax(ip), 1)
  19.     new steamid[32]; get_user_authid(id, steamid, charsmax(steamid));
  20.        
  21.     if(!TrieKeyExists(g_IP, ip)) {
  22.         TrieSetCell(g_IP, ip, 1);
  23.         TrieSetCell(g_SteamID, steamid, 1);
  24.     }
  25.     else if(!TrieKeyExists(g_SteamID, steamid)) {
  26.         server_cmd("kick #%d ^"SteamID valtas.^"", get_user_userid(id));
  27.     }
  28. }
  29.      
  30. public plugin_end() {
  31.     TrieDestroy(g_IP);
  32.     TrieDestroy(g_SteamID);
  33. }


Zsír vagy :D

Szerző:  FonoK [ 2017.02.28. 00:51 ]
Hozzászólás témája:  Re: Steam ID Váltó Ellen.

Nagyon szépen köszönöm a cikket, hasznos volt! :)

Szerző:  TmS1899 [ 2017.03.16. 09:18 ]
Hozzászólás témája:  Re: Steam ID Váltó Ellen.

Kösz a cikket. Pont egy ilyenre van szükségem. 8-)

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