hlmod.hu
https://hlmod.hu/

hltv.steam-id lan tiltása
https://hlmod.hu/viewtopic.php?f=29&t=18786
Oldal: 1 / 1

Szerző:  alfaanero [ 2015.01.01. 19:34 ]
Hozzászólás témája:  hltv.steam-id lan tiltása

Hy.Valaki csinálna nekem egy olyan plugint,ami a HLTV-t és a STEAM_ID_LAN-t nem engedi fel a szerverre és okot is tudjak írni.Pl.Szedd le innen a cs-t:xxxx.com

Szerző:  expert [ 2015.01.01. 21:19 ]
Hozzászólás témája:  Re: hltv.steam-id lan tiltása

SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <amxmisc>
  3.  
  4. #define indok "Ki lettel Rugva mert nincs Steam id-d, szedd le innen ww.oldal.hu"
  5.  
  6. public plugin_init()
  7. {
  8. register_plugin("NS kicker", "1.1", "expert")
  9. }
  10.  
  11. public client_authorized(id)
  12. {
  13. new steamids[35]
  14.  
  15. get_user_authid(id, steamids, 34)
  16.  
  17. if(equali(steamids, "STEAM_ID_LAN") || equali(steamids, "HLTV"))
  18. {
  19. server_cmd("kick #%d ^"%s^"",get_user_userid(id),indok)
  20. }
  21. }
  22.  

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