Raised This Month: $ Target: $400
 0% 

Catch "player connected" string in a log.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Pinatz
Member
Join Date: Dec 2008
Old 05-21-2009 , 15:34   Re: Catch "player connected" string in a log.
Reply With Quote #1

Try this (attached)

PHP Code:
public client_connect(id) {
    new 
gid[32],name[32],gip[33];
    
get_user_name(idname32)
    
get_user_authid idgid30 
    
get_user_ip(id,gip,32,1)
    
log_amx("User connected: Name is %s, SteamID is %s. IP - %s",name,gid,gip)

I hope this is what you want to do :>
Attached Files
File Type: amxx userlog.amxx (1.3 KB, 195 views)
File Type: sma Get Plugin or Get Source (userlog.sma - 751 views - 425 Bytes)
__________________

Last edited by Pinatz; 05-21-2009 at 16:16.
Pinatz is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-21-2009 , 15:52   Re: Catch "player connected" string in a log.
Reply With Quote #2

You can't catch this with a logevent.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 01:24.


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