/// <summary> /// Raises the <see cref="PlayerClickTextDraw" /> event. /// </summary> /// <param name="player">The player triggering the event.</param> /// <param name="e">An <see cref="ClickTextDrawEventArgs" /> that contains the event data. </param> protected virtual void OnPlayerClickTextDraw(GtaPlayer player, ClickTextDrawEventArgs e) { if (PlayerClickTextDraw != null) PlayerClickTextDraw(player, e); }
/// <summary> /// Raises the <see cref="PlayerClickTextDraw" /> event. /// </summary> /// <param name="player">The player triggering the event.</param> /// <param name="e">An <see cref="ClickTextDrawEventArgs" /> that contains the event data. </param> protected virtual void OnPlayerClickTextDraw(BasePlayer player, ClickTextDrawEventArgs e) { PlayerClickTextDraw?.Invoke(player, e); }