mirror of
https://github.com/edgegamers/Jailbreak.git
synced 2025-12-06 04:42:57 -08:00
29 lines
922 B
C#
29 lines
922 B
C#
using CounterStrikeSharp.API.Modules.Utils;
|
|
using Jailbreak.Formatting.Base;
|
|
using Jailbreak.Formatting.Core;
|
|
using Jailbreak.Formatting.Logistics;
|
|
using Jailbreak.Formatting.Objects;
|
|
using Jailbreak.Formatting.Views;
|
|
|
|
namespace Jailbreak.English.LastGuard;
|
|
|
|
public class LastGuardNotifications : ILastGuardNotifications,
|
|
ILanguage<Formatting.Languages.English> {
|
|
private static readonly FormatObject PREFIX =
|
|
new HiddenFormatObject(
|
|
$" {ChatColors.DarkRed}[{ChatColors.LightRed}Last Guard{ChatColors.DarkRed}]") {
|
|
// Hide in panorama and center text
|
|
Plain = false, Panorama = false, Chat = true
|
|
};
|
|
|
|
public IView LGStarted(int ctHealth, int tHealth) {
|
|
return new SimpleView {
|
|
PREFIX,
|
|
$"{ChatColors.Red}Last Guard has been activated! Last guard has",
|
|
ctHealth,
|
|
$"{ChatColors.Red}health and Ts have",
|
|
tHealth,
|
|
$"{ChatColors.Red}health."
|
|
};
|
|
}
|
|
} |