mirror of
https://github.com/roflmuffin/CounterStrikeSharp.git
synced 2025-12-08 00:46:34 -08:00
15 lines
374 B
C#
15 lines
374 B
C#
using CounterStrikeSharp.API.Modules.Utils;
|
|
|
|
namespace CounterStrikeSharp.API.Modules.Extensions;
|
|
|
|
public static class TeamExtensions
|
|
{
|
|
/// <summary>
|
|
/// <inheritdoc cref="ChatColors.ForTeam"/>
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public static char GetChatColor(this CsTeam team)
|
|
{
|
|
return ChatColors.ForTeam(team);
|
|
}
|
|
} |