예제 #1
0
 /// <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);
 }
예제 #2
0
 /// <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);
 }