Example #1
0
 /// <summary>
 ///     Raises the <see cref="PlayerEditGlobalObject" /> event.
 /// </summary>
 /// <param name="player">The player triggering the event.</param>
 /// <param name="e">An <see cref="EditGlobalObjectEventArgs" /> that contains the event data. </param>
 protected virtual void OnPlayerEditGlobalObject(GtaPlayer player, EditGlobalObjectEventArgs e)
 {
     if (PlayerEditGlobalObject != null)
         PlayerEditGlobalObject(player, e);
 }
Example #2
0
 /// <summary>
 ///     Raises the <see cref="PlayerEditGlobalObject" /> event.
 /// </summary>
 /// <param name="player">The player triggering the event.</param>
 /// <param name="e">An <see cref="EditGlobalObjectEventArgs" /> that contains the event data. </param>
 protected virtual void OnPlayerEditGlobalObject(BasePlayer player, EditGlobalObjectEventArgs e)
 {
     PlayerEditGlobalObject?.Invoke(player, e);
 }