Raised This Month: $ Target: $400
 0% 

[INC] Colors (1.0.5)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 12-01-2009 , 11:00   Re: [INC] Colors (1.0.1)
Reply With Quote #1

Hi guys. Need a reply from you. Just trying to figure out what troubles do you have in TF2 with colors. Just tested it and it works fine without any changes. There were some posts about colors not working after TF update. But it works for me. What exactly doesn't work?

p.s.
just tested:
PHP Code:
CPrintToChatAll("default {green}green {blue}blue {olive}olive"); 
screenshot:
[IMG]http://img694.**************/img694/2747/tfcolorstest1.png[/IMG]
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
Cerise
Senior Member
Join Date: Jun 2009
Location: debug_backtrace()
Old 12-04-2009 , 04:35   Re: [INC] Colors (1.0.1)
Reply With Quote #2

Hi exvel,

Current issue in TF2 is the 'yellow' color.

I heard that some players got black instead of yellow until they see a item event "Someone has found : Ghastly Pingas"


AFAIK, i had Green working and yellow appearing as green. Never got black and never saw yellow even after an item event.

Like :

{YELLOW}Hellow gives Hellow

Other colors are working great to me, anyway, great job
Cerise is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 12-04-2009 , 08:47   Re: [INC] Colors (1.0.1)
Reply With Quote #3

Well, then I'll just do a research.
Currently {yellow} is an alias for {green}. It was made for L4D. Green code is yellow in this game.
Yellow color for TF currently is not implemented.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
mrj
Junior Member
Join Date: Nov 2009
Old 12-05-2009 , 04:14   Re: [INC] Colors (1.0.1)
Reply With Quote #4

Hi, sorry for DP but I really need help.I replace ShowActivity to CPrintToChatAll, dont work, in chat i see {red}text but no text
mrj is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 12-05-2009 , 12:41   Re: [INC] Colors (1.0.1)
Reply With Quote #5

Post here your entire code.
What game do you use?
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
KrankFL
Member
Join Date: May 2009
Old 12-06-2009 , 07:03   Re: [INC] Colors (1.0.1)
Reply With Quote #6

Will this be updated for L4D2 ? I would love to get turquoise working
KrankFL is offline
mrj
Junior Member
Join Date: Nov 2009
Old 12-08-2009 , 15:05   Re: [INC] Colors (1.0.1)
Reply With Quote #7

Quote:
Originally Posted by exvel View Post
Post here your entire code.
What game do you use?
cs:s
Code:
PerformReloadAdmins(client)
{
    /* Dump it all! */
    DumpAdminCache(AdminCache_Groups, true);
    DumpAdminCache(AdminCache_Overrides, true);

    LogAction(client, -1, "\"%L\" refreshed the admin cache.", client);
    ReplyToCommand(client, "%t", "Admin cache refreshed");
}
sorry, no showactivity but replytocommand, but with showactivity i have same problem.its a main sourcemod plugin basecommands/reloadadmins.sp
mrj is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 12-06-2009 , 07:49   Re: [INC] Colors (1.0.2)
Reply With Quote #8

Update 1.0.2
  • Left 4 Dead 2 support
  • Removed {yellow} tag. Use {green} in L4D for yellow color.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 12-08-2009 , 15:14   Re: [INC] Colors (1.0.2)
Reply With Quote #9

I don't see here CPrintToChat function and any color tags.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
mrj
Junior Member
Join Date: Nov 2009
Old 12-09-2009 , 03:54   Re: [INC] Colors (1.0.2)
Reply With Quote #10

Quote:
Originally Posted by exvel View Post
I don't see here CPrintToChat function and any color tags.
sorry, i post original file...
here is edited :
Code:
#include colors

PerformReloadAdmins(client)
{
    /* Dump it all! */
    DumpAdminCache(AdminCache_Groups, true);
    DumpAdminCache(AdminCache_Overrides, true);

    LogAction(client, -1, "\"%L\" refreshed the admin cache.", client);
    CPrintToChatAll("{red}Admin cache refreshed");
}

public AdminMenu_ReloadAdmins(Handle:topmenu, 
                              TopMenuAction:action,
                              TopMenuObject:object_id,
                              param,
                              String:buffer[],
                              maxlength)
{
    if (action == TopMenuAction_DisplayOption)
    {
        Format(buffer, maxlength, "%T", "Reload admins", param);
    }
    else if (action == TopMenuAction_SelectOption)
    {
        PerformReloadAdmins(param);
        RedisplayAdminMenu(topmenu, param);    
    }
}

public Action:Command_ReloadAdmins(client, args)
{
    PerformReloadAdmins(client);

    return Plugin_Handled;
}
mrj 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 18:59.


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