15 lines
568 B
C#
15 lines
568 B
C#
using CounterStrikeSharp.API;
|
|
using CounterStrikeSharp.API.Core;
|
|
|
|
namespace Outnumbered.Engine;
|
|
|
|
// Controller-side schema writes (the pawn-side equivalents live in PawnWriter). Currently just the scoreboard clan tag —
|
|
// kept here so the field name + the SetStateChanged notify contract live together, like every other engine write.
|
|
internal static class ControllerWriter
|
|
{
|
|
public static void SetClan(CCSPlayerController p, string tag)
|
|
{
|
|
p.Clan = tag;
|
|
Utilities.SetStateChanged(p, EngineNames.CCSPlayerController, EngineNames.Clan);
|
|
}
|
|
}
|