public static void SendEX(this TSPlayer tsp, object text, Color color = default) { color = color == default ? new Color(212, 239, 245) : color; tsp.SendMessage(ServerPrefix + text, color); NetMessage.PlayNetSound(new NetMessage.NetSoundInfo(tsp.TPlayer.position, 122, -1, 0.62f), tsp.Index); }
public static void SendInfoEX(this TSPlayer tsp, object text) { tsp.SendMessage(ServerPrefix + text, new Color(216, 212, 82)); NetMessage.PlayNetSound(new NetMessage.NetSoundInfo(tsp.TPlayer.position, 122, -1, 0.62f), tsp.Index); }