View Single Post
Author Message
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 09-07-2014 , 16:52   [INC] Multi Colors
Reply With Quote #1

You like this plugin or my work? Support is not a crime.

Multi Colors (based on Stamm-Colors) is a summary of Colors and More Colors. Depending on the game More Colors will be used as default. Should the game be CS:GO Colors will be used. The include providing a perfect base for plugins supporting multiple games.

Functions:
  • CPrintToChat(int client, const char[] message, any ...)
  • CPrintToChatAll(const char[] message, any ...)
  • CPrintToChatEx(int client, int author, const char[] message, any ...)
  • CPrintToChatAllEx(int author, const char[] message, any ...)
  • CReplyToCommand(int author, const char[] message, any ...)
  • CReplyToCommandEx(int client, int author, const char[] message, any ...)
  • CShowActivity(int author, const char[] message, any ...)
  • CShowActivityEx(int author, const char[] tag, const char[] message, any ...)
  • CShowActivity2(int author, const char[] tag, const char[] message, any ...)
  • CPrintToChatObservers(int target, const char[] message, any ...)
  • CPrintToChatObserversEx(int target, const char[] message, any ...)
  • CRemoveTags(char[] message, int maxlen)
  • CFormatColor(char[] message, int maxlength, int author)

By using C* Functions, offers these include a good compatibility to Colors and More Colors.

Links:


If you have this error:
Quote:
addons/sourcemod/scripting/include/regex.inc(175) : error 147: new-style declarations are required
Change this line (175) in your regex.inc:
Quote:
public Extension:__ext_regex =
to this:
Quote:
public Extension __ext_regex =
Download:
https://github.com/Bara20/Multi-Colors
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.

Last edited by Bara; 08-31-2020 at 15:36. Reason: Updated include to version 2.0.1
Bara is offline