public static void Testa(BasePlayer player) { var d = new TextDraw(new Vector2(100, 100), "Diploma", TextDrawFont.Diploma); var p = new TextDraw(new Vector2(100, 140), "Pricedown", TextDrawFont.Pricedown); var n = new TextDraw(new Vector2(100, 180), "Normal", TextDrawFont.Normal); p.Show(player); d.Show(player); n.Show(player); }
/// <summary> /// Initializes a new instance of the ClickTextDrawEventArgs class. /// </summary> /// <param name="player">The player.</param> /// <param name="textDraw">The text draw.</param> public ClickTextDrawEventArgs(BasePlayer player, TextDraw textDraw) { Player = player; TextDraw = textDraw; }