Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.74 KB | None | 0 0
  1. if ( InsuranceEnabled && item.Insured )
  2.             {
  3.                 // This section penalises red players an extra 1800 gold per item that is insured.
  4.                 if ( this.Kills >= 5 )
  5.                 {
  6.                     if ( Banker.Withdraw( this, 1800 ) )
  7.                     {
  8.                         SendMessage("You have paid 1800 additional tax due to your murderer status");
  9.                         if ( m_InsuranceAward is PlayerMobile )
  10.                         {
  11.                             Banker.Deposit( m_InsuranceAward, 1800 );
  12.                             //SendMessage( "You have been awarded 1800 bonus tax for vanquishing a murderer." ); ---fix for message to killer
  13.                         }
  14.                     }
  15.                 }
  16.                 else
  17.                 {
  18.                     item.PayedInsurance = false;
  19.                     item.Insured = false;
  20.                     SendMessage( "You lack the funds to pay murderer tax and your item has dropped." );
  21.                     return false;
  22.                 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement