Пример #1
0
 /// <summary>
 /// Sends a success message.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="message">The message.</param>
 public static void SendSuccessMessage(this PlayerCommandSender sender, string message) =>
 sender.SendMessage(message, new Color3(0, 255, 0));
Пример #2
0
 /// <summary>
 /// Sends an error message.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="message">The message.</param>
 public static void SendErrorMessage(this PlayerCommandSender sender, string message) =>
 sender.SendMessage(message, new Color3(255, 0, 0));