Raised This Month: $ Target: $400
 0% 

[Dyn Native] ColorChat v0.3.2 (04 jul 2013)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
amxxlover
Junior Member
Join Date: Mar 2010
Old 03-20-2010 , 16:58   Re: [Native] ColorChat v0.1.0
Reply With Quote #10

Another problem. I tried to make the native colorchat working in the default statsx plugin by adding the line #include <chatcolor> on top of the plugin and edited the below part of the code.

PHP Code:
// Display user stats.
public cmdMe(id)
{
    if (!
SayMe)
    {
        
client_print(idprint_chat"%L"id"DISABLED_MSG")
        return 
PLUGIN_HANDLED
    
}
    
    
format_kill_vinfo(id0g_sBuffer)
    
//client_print(id, print_chat, "* %s", g_sBuffer)  //old
    
client_print_color(idprint_chat"* %s"g_sBuffer)
    
    return 
PLUGIN_CONTINUE

In the statsx.txt file i replaced
PHP Code:
LAST_RES Last result: %d hit(s), %d damage 
with
PHP Code:
LAST_RES Last !gresult!n: %d hit(s), %d damage 
Compilling went fine but ingame i see this


Last edited by amxxlover; 03-20-2010 at 17:53.
amxxlover 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 10:43.


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