Raised This Month: $ Target: $400
 0% 

Help me! Could not locate output file


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Akka3223
Member
Join Date: Oct 2016
Old 02-27-2017 , 16:50   Re: Help me! Could not locate output file
Reply With Quote #7

ok

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <d2lod>

new PLUGIN_NAME[] = "Diablo2 Log Announcer"
new PLUGIN_AUTHOR[] = "AkkaStyle"
new PLUGIN_VERSION[] = "2.2"

new const HEROES[][] = 
{
    
"Hunter",
    
"Assassin",
    
"Warlock",
    
"Warrior",
    
"Rogue",
    
"Druid",
    
"Mage"

new const 
LEVELS[] = 
{


public 
plugin_init() 
{
    
register_plugin(PLUGIN_NAMEPLUGIN_VERSIONPLUGIN_AUTHOR)
}
public 
d2_logged(idlog_type)
{
    static 
name[32] ; get_user_name(idnamecharsmax(name), LEVELS);

    if ( 
log_type == LOGGED )
    {
        
client_printcolor0"/y[ /g%s /y] - /ctr%s /yhas logged ON."nameHEROESget_p_hero(id) ], LEVELSget_p_level(id) ]);
    }
    else
    {
        
client_printcolor0"/y[ /g%s /y] - /ctr%s /yhas logged OFF."nameHEROESget_p_hero(id) ], LEVELSget_p_level(id) ]);
    }


Last edited by Akka3223; 02-27-2017 at 16:53.
Akka3223 is offline
 



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 20:43.


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