コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }