Raised This Month: $51 Target: $400
 12% 

Saves Joining players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
QuickDroLLL
Senior Member
Join Date: Dec 2021
Location: AMX Mod X Land
Old 08-15-2022 , 13:57   Saves Joining players
Reply With Quote #1

hello iam loking for plugin that saves players that join the server their nick and steam id ini file like

"QuickDroLLL""SteamID"
QuickDroLLL is offline
menkisa
Junior Member
Join Date: Sep 2011
Old 08-15-2022 , 14:43   Re: Saves Joining players
Reply With Quote #2

PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_plugin("Log Player Steam ID""0.1""menkisa");
}

public 
client_authorized(id)
{
    if(
is_user_bot(id) || is_user_hltv(id))
        return;
    
    new 
szAuthID[MAX_AUTHID_LENGTH];
    
get_user_authid(idszAuthIDcharsmax(szAuthID));

    
log_to_file("joined_players.txt""[ Nick: %n | SteamID: %s ]"idszAuthID);

menkisa is offline
QuickDroLLL
Senior Member
Join Date: Dec 2021
Location: AMX Mod X Land
Old 08-15-2022 , 17:29   Re: Saves Joining players
Reply With Quote #3

Quote:
Originally Posted by menkisa View Post
PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_plugin("Log Player Steam ID""0.1""menkisa");
}

public 
client_authorized(id)
{
    if(
is_user_bot(id) || is_user_hltv(id))
        return;
    
    new 
szAuthID[MAX_AUTHID_LENGTH];
    
get_user_authid(idszAuthIDcharsmax(szAuthID));

    
log_to_file("joined_players.txt""[ Nick: %n | SteamID: %s ]"idszAuthID);

not working
QuickDroLLL is offline
menkisa
Junior Member
Join Date: Sep 2011
Old 08-15-2022 , 17:40   Re: Saves Joining players
Reply With Quote #4

I am pretty sure it is working. Go to amxmodx/logs and you will see file named: joined_players.txt
menkisa is offline
QuickDroLLL
Senior Member
Join Date: Dec 2021
Location: AMX Mod X Land
Old 08-16-2022 , 08:25   Re: Saves Joining players
Reply With Quote #5

Quote:
Originally Posted by menkisa View Post
I am pretty sure it is working. Go to amxmodx/logs and you will see file named: joined_players.txt
thx its working but can you edit it and make it in configs not logs
QuickDroLLL is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-16-2022 , 21:54   Re: Saves Joining players
Reply With Quote #6

It's a log file so why would it go in the config folder?
__________________
fysiks is offline
QuickDroLLL
Senior Member
Join Date: Dec 2021
Location: AMX Mod X Land
Old 08-17-2022 , 03:07   Re: Saves Joining players
Reply With Quote #7

Quote:
Originally Posted by fysiks View Post
It's a log file so why would it go in the config folder?
i know its log file but if there a way to change it from a log file to ini file
QuickDroLLL is offline
lexzor
Veteran Member
Join Date: Nov 2020
Old 08-17-2022 , 08:35   Re: Saves Joining players
Reply With Quote #8

what is the reason? it s a waste of time
lexzor is offline
QuickDroLLL
Senior Member
Join Date: Dec 2021
Location: AMX Mod X Land
Old 08-17-2022 , 14:24   Re: Saves Joining players
Reply With Quote #9

Quote:
Originally Posted by lexzor View Post
what is the reason? it s a waste of time
its just eazy to get and found not like a log file
QuickDroLLL is offline
lexzor
Veteran Member
Join Date: Nov 2020
Old 08-17-2022 , 18:52   Re: Saves Joining players
Reply With Quote #10

it s the same thing only the location of the file is different
lexzor is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode