Table of Contents

Class ChatColors

Namespace
CounterStrikeSharp.API.Modules.Utils
Assembly
CounterStrikeSharp.API.dll
public class ChatColors
Inheritance
ChatColors

Fields

Blue

public static char Blue

Field Value

char

BlueGrey

public static char BlueGrey

Field Value

char

DarkBlue

public static char DarkBlue

Field Value

char

DarkRed

public static char DarkRed

Field Value

char

Darkred

[Obsolete("Use ChatColors.DarkRed instead.")]
public static char Darkred

Field Value

char

Default

public static char Default

Field Value

char

Gold

public static char Gold

Field Value

char

Green

public static char Green

Field Value

char

Grey

public static char Grey

Field Value

char

LightBlue

public static char LightBlue

Field Value

char

LightPurple

public static char LightPurple

Field Value

char

LightRed

public static char LightRed

Field Value

char

LightYellow

public static char LightYellow

Field Value

char

Lime

public static char Lime

Field Value

char

Magenta

public static char Magenta

Field Value

char

Olive

public static char Olive

Field Value

char

Orange

public static char Orange

Field Value

char

Purple

public static char Purple

Field Value

char

Red

public static char Red

Field Value

char

Silver

public static char Silver

Field Value

char

White

public static char White

Field Value

char

Yellow

public static char Yellow

Field Value

char

Methods

ForPlayer(CCSPlayerController)

Returns a chat color for a player based on their team. Blue for CT, Yellow for T, LightPurple for Spectator

public static char ForPlayer(CCSPlayerController player)

Parameters

player CCSPlayerController

Returns

char

Exceptions

Exception

ForTeam(CsTeam)

Returns a chat color based on a team. Blue for CT, Yellow for T, LightPurple for Spectator

public static char ForTeam(CsTeam team)

Parameters

team CsTeam

Returns

char

Exceptions

Exception