Raised This Month: $ Target: $400
 0% 

blank row


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
funstyle
Member
Join Date: Feb 2010
Location: RO, Bucharest
Old 02-28-2010 , 17:37   blank row
Reply With Quote #1

PHP Code:
#include <amxmodx>

#define PLUGIN    "Log on the file server players"
#define VERSION    "1.0"
#define AUTHOR    "Starsailor"

#define LOGFILE    "players_server.log"

new g_Enabled;

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    new 
mapa[32];
    
get_mapname(mapa,31);
    
    
g_Enabled register_cvar("ltf_enable","1")
    
    if( 
get_pcvar_num(g_Enabled) )
        
log_to_file(LOGFILE"------------ Map %s : ------------"mapa);
}

public 
client_putinserverid ) {
    if( 
get_pcvar_num(g_Enabled) ) {
        new 
name[32], authid[32], userip[32];
        
        
get_user_name(idname31);
        
get_user_ip(iduserip311);
        
get_user_authid(idauthid31);
        
        
log_to_file(LOGFILE"Player %s connected (%s) (IP: %s)",name,authid,userip); 
    }
}    

public 
client_disconnect(id){
    if( 
get_pcvar_num(g_Enabled) ) {
        new 
name[32], authid[32], userip[32];
        
        
get_user_name(idname31);
        
get_user_ip(iduserip311);
        
get_user_authid(idauthid31);
        
        
log_to_file(LOGFILE"Player %s disconnected (%s) (IP: %s)",name,authid,userip);
    }

need help, can you write a blank row? like this
Attached Thumbnails
Click image for larger version

Name:	untitled.JPG
Views:	117
Size:	35.7 KB
ID:	60674  
funstyle is offline
Send a message via Yahoo to funstyle
 


Thread Tools
Display Modes

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 08:39.


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