public static void SendSubtitle(string message, int duration = 5000, bool drawImmediately = true) { BeginTextCommandPrint("THREESTRINGS"); foreach (var msg in Main.StringToArray(message)) { AddTextComponentSubstringPlayerName(msg); } EndTextCommandPrint(duration, drawImmediately); }
public static void Send(string message, bool blink = true, bool saveToBrief = true) { SetNotificationTextEntry("THREESTRINGS"); foreach (string msg in Main.StringToArray(message)) { if (msg != null) { AddTextComponentSubstringPlayerName(msg); } } DrawNotification(blink, saveToBrief); }