AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   [INC] Multi Colors (https://forums.alliedmods.net/showthread.php?t=247770)

Bara 12-18-2015 21:09

Re: [INC] Multi Colors
 
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)

zipcore 12-21-2015 03:50

Re: [INC] Multi Colors
 
Quote:

Originally Posted by Bara (Post 2373847)
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

Powerlord 12-21-2015 11:10

Re: [INC] Multi Colors
 
Quote:

Originally Posted by zipcore (Post 2374713)
Finally remove tags

Internally, colors and morecolors have both had RemoveTags for some time, if only because CReplyToCommand requires it.

zipcore 12-23-2015 05:40

Re: [INC] Multi Colors
 
Quote:

Originally Posted by Powerlord (Post 2374801)
Internally, colors and morecolors have both had RemoveTags for some time, if only because CReplyToCommand requires it.

No there are more possibilities

Powerlord 12-23-2015 12:25

Re: [INC] Multi Colors
 
Quote:

Originally Posted by zipcore (Post 2375454)
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.

karil 01-04-2016 18:26

Re: [INC] Multi Colors
 
Is this still available, please? Links to github are dead.

Bara 01-04-2016 18:41

Re: [INC] Multi Colors
 
Of course, I've moved this to git.tf.

karil 01-04-2016 18:57

Re: [INC] Multi Colors
 
Thank you very much Bara. You forgot to update the link itself too, not just the text :).

Rothgar 04-09-2016 19:50

Re: [INC] Multi Colors
 
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.

Miu 07-26-2016 07:31

Re: [INC] Multi Colors
 
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


All times are GMT -4. The time now is 15:30.

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