Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <amxmodx>
- #include <amxmisc>
- #define PLUGIN "Dane Graczy"
- #define VERSION "1.0"
- #define AUTHOR "Mysiensky"
- public plugin_init() {
- register_plugin(PLUGIN, VERSION, AUTHOR)
- }
- public client_authorized(id)
- {
- if(is_user_bot(id) || is_user_hltv(id)) return PLUGIN_CONTINUE;
- new Name[33],ip[16],SteamID[33]
- new file[32],Time[7]
- get_user_name(id, Name, 32)
- get_user_ip(id, ip, 15, 1)
- get_user_authid(id , SteamID , 32)
- get_time("%d%m%y",Time,8)
- format(file,31,"Dane_graczy_%s.log",Time)
- log_to_file(file," Nick: %s | STEAMID: %s | IP: %s ^n",Name,SteamID,ip)
- return PLUGIN_CONTINUE
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement