Raised This Month: $12 Target: $400
 3% 

[INC] Multi Colors


Post New Thread Reply   
 
Thread Tools Display Modes
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 12-18-2015 , 21:09   Re: [INC] Multi Colors
Reply With Quote #21

Updated to version 2.0.1 (Thanks to whocode for CPrintToObservers functions)
Added following functions:

  • CPrintToChatObservers(int target, const char[] message, any ...)
  • CPrintToChatObserversEx(int target, const char[] message, any ...)
  • CRemoveTags(char[] message, int maxlen)
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.
Bara is offline
zipcore
Veteran Member
Join Date: Mar 2010
Location: m_flZipcore
Old 12-21-2015 , 03:50   Re: [INC] Multi Colors
Reply With Quote #22

Quote:
Originally Posted by Bara View Post
Updated to version 2.0.1 (Thanks to whocode for CPrintToObservers functions)
Added following functions:

  • CPrintToChatObservers(int target, const char[] message, any ...)
  • CPrintToChatObserversEx(int target, const char[] message, any ...)
  • CRemoveTags(char[] message, int maxlen)
Finally remove tags
__________________
zipcore is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 12-21-2015 , 11:10   Re: [INC] Multi Colors
Reply With Quote #23

Quote:
Originally Posted by zipcore View Post
Finally remove tags
Internally, colors and morecolors have both had RemoveTags for some time, if only because CReplyToCommand requires it.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
zipcore
Veteran Member
Join Date: Mar 2010
Location: m_flZipcore
Old 12-23-2015 , 05:40   Re: [INC] Multi Colors
Reply With Quote #24

Quote:
Originally Posted by Powerlord View Post
Internally, colors and morecolors have both had RemoveTags for some time, if only because CReplyToCommand requires it.
No there are more possibilities
__________________
zipcore is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 12-23-2015 , 12:25   Re: [INC] Multi Colors
Reply With Quote #25

Quote:
Originally Posted by zipcore View Post
No there are more possibilities
It was more of a comment about me being surprised that multicolors didn't have it since two of the includes its based on did.

What's more, I don't recall that function being static in either of them, so plugins could just call it directly in both of them.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
karil
SourceMod Donor
Join Date: Jan 2010
Old 01-04-2016 , 18:26   Re: [INC] Multi Colors
Reply With Quote #26

Is this still available, please? Links to github are dead.
karil is offline
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 01-04-2016 , 18:41   Re: [INC] Multi Colors
Reply With Quote #27

Of course, I've moved this to git.tf.
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.
Bara is offline
karil
SourceMod Donor
Join Date: Jan 2010
Old 01-04-2016 , 18:57   Re: [INC] Multi Colors
Reply With Quote #28

Thank you very much Bara. You forgot to update the link itself too, not just the text .
karil is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 04-09-2016 , 19:50   Re: [INC] Multi Colors
Reply With Quote #29

There is a link on the git.tf front page for the download which is linking to the old github FYI:

https://git.tf/Bara/Multi-Colors/tree/master

https://github.com/Bara20/Multi-Colors

Not sure if there will be other links scattered.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Miu
Veteran Member
Join Date: Nov 2013
Old 07-26-2016 , 07:31   Re: [INC] Multi Colors
Reply With Quote #30

this part here needs to be changed to

PHP Code:
    if (!IsSource2009())
        
C_PrintToChat(client"%s"buffer);
    else
        
MC_PrintToChat(client"%s"buffer); 
to avoid double formatting, see https://forums.alliedmods.net/showthread.php?t=285606
Miu is offline
Reply


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 19:55.


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