Scripts/Customs/Nerun's Distro/New/Commands/Toolbar.cs
/// <summary>
/// Sends a toolbar to staff members upon death.
/// </summary>
// Talow and AlphaDragon fix 2/3
Sends a toolbar to staff members upon death.
Sends a toolbar to staff members upon death .
public static void OnPlayerDeath(PlayerDeathEventArgs e)
        {
            if (e.Mobile.AccessLevel >= AccessLevel.Counselor)
            {
                e.Mobile.CloseGump(typeof(Toolbar));
                object[] arg = new object[] {e.Mobile};
                Timer.DelayCall( TimeSpan.FromSeconds( 2.0 ), new TimerStateCallback( SendToolbar ), arg);
            }
        }
public static void OnPlayerDeath ( PlayerDeathEventArgs e ) { if ( e . Mobile . AccessLevel >= AccessLevel . Counselor ) { e . Mobile . CloseGump ( typeof ( Toolbar ) ) ; object [ ] arg = new object [ ] { e . Mobile } ; Timer . DelayCall ( TimeSpan . FromSeconds ( 2.0 ) , new TimerStateCallback ( SendToolbar ) , arg ) ; } }
Sends a toolbar to staff members upon death.
Sends a toolbar to staff members upon death .
e
PlayerDeathEventArgs