Raised This Month: $71 Target: $400
 17% 

[INC] Multi Colors


Post New Thread Reply   
 
Thread Tools Display Modes
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 12-18-2015 , 22: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)
__________________
Steam | More plugins | Discord: Bara#1676
Bara is offline
zipcore
Veteran Member
Join Date: Mar 2010
Location: m_flZipcore
Old 12-21-2015 , 04: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 , 12: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.
__________________
Am I back? Well, we'll see.
Powerlord is offline
zipcore
Veteran Member
Join Date: Mar 2010
Location: m_flZipcore
Old 12-23-2015 , 06: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 , 13: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.
__________________
Am I back? Well, we'll see.
Powerlord is offline
karil
SourceMod Donor
Join Date: Jan 2010
Old 01-04-2016 , 19: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 , 19:41   Re: [INC] Multi Colors
Reply With Quote #27

Of course, I've moved this to git.tf.
__________________
Steam | More plugins | Discord: Bara#1676
Bara is offline
karil
SourceMod Donor
Join Date: Jan 2010
Old 01-04-2016 , 19: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 , 20: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 , 08: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 22:06.


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