Class ChatColors
- Namespace
- CounterStrikeSharp.API.Modules.Utils
- Assembly
- CounterStrikeSharp.API.dll
public class ChatColors
- Inheritance
-
objectChatColors
Fields
Blue
public static char Blue
Field Value
BlueGrey
public static char BlueGrey
Field Value
DarkBlue
public static char DarkBlue
Field Value
DarkRed
public static char DarkRed
Field Value
Darkred
[Obsolete("Use ChatColors.DarkRed instead.")]
public static char Darkred
Field Value
Default
public static char Default
Field Value
Gold
public static char Gold
Field Value
Green
public static char Green
Field Value
Grey
public static char Grey
Field Value
LightBlue
public static char LightBlue
Field Value
LightPurple
public static char LightPurple
Field Value
LightRed
public static char LightRed
Field Value
LightYellow
public static char LightYellow
Field Value
Lime
public static char Lime
Field Value
Magenta
public static char Magenta
Field Value
Olive
public static char Olive
Field Value
Orange
public static char Orange
Field Value
Purple
public static char Purple
Field Value
Red
public static char Red
Field Value
Silver
public static char Silver
Field Value
White
public static char White
Field Value
Yellow
public static char Yellow
Field Value
Methods
ForPlayer(CCSPlayerController)
Returns a chat color for a player based on their team.
public static char ForPlayer(CCSPlayerController player)
Parameters
player
CCSPlayerController
Returns
Exceptions
ForTeam(CsTeam)
Returns a chat color based on a team.
public static char ForTeam(CsTeam team)
Parameters
team
CsTeam