AlliedModders

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

Ilusion9 03-21-2020 06:45

[INC] SourceColors
 
Github: https://github.com/Ilusion9/sourcecolors-inc-sm

Description: Trying to support colors for all source games.
Credits to: multicolors, colors, morecolors, colorlib creators.

For CSS, TF2, HL2DM, DODS, you can use any hex colors in translations. Example {#919191} or {#BA78D4}.

For other games, there's a list with all available colors.
{$team} color works in CPrintToChat function and the chat sound is disabled. For CS:GO, the purple color doesn't work anymore, but you have {$orchid}.
In CPrintToChat_Ex function the chat sound is enabled. I will add a paramater to enable/disable it.

I will come up with the rest of the functions (CShowActivity etc.).


All times are GMT -4. The time now is 14:52.

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