Пример #1
0
 /// <summary>
 ///     Raises the <see cref="PlayerClickPlayerTextDraw" /> 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 OnPlayerClickPlayerTextDraw(GtaPlayer player, ClickPlayerTextDrawEventArgs e)
 {
     if (PlayerClickPlayerTextDraw != null)
         PlayerClickPlayerTextDraw(player, e);
 }
Пример #2
0
 /// <summary>
 ///     Raises the <see cref="PlayerClickPlayerTextDraw" /> 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 OnPlayerClickPlayerTextDraw(BasePlayer player, ClickPlayerTextDrawEventArgs e)
 {
     PlayerClickPlayerTextDraw?.Invoke(player, e);
 }