changes
This commit is contained in:
@@ -524,7 +524,7 @@ namespace ReallifeGamemode.Server.Events
|
||||
player.SendNotification("~y~[Info]~w~ Es sind genügend Beamte online!");
|
||||
return;
|
||||
}
|
||||
client.SetJailTime(true, dbcontext);
|
||||
client.SetJailTime(false, dbcontext);
|
||||
Jail.Check_PutBehindBars(client, JailInLocations.Outside);
|
||||
player.SendNotification("Du hast dich selbst eingeknastet");
|
||||
ChatService.HQMessage(player.Name + " wurde ins Gefängnis eingeliefert.");
|
||||
|
||||
@@ -140,7 +140,7 @@ namespace ReallifeGamemode.Server.Finance
|
||||
factionMoney = factionWage;
|
||||
}
|
||||
int otheramount = user.otheramount;
|
||||
int amount = wage - (int)(wage * financialInterest) - vehicleTaxation - (int)propertyTax + (int)financialHelp - rentalFees - healthInsurance + gez + (factionMoney ?? 0) + otheramount;
|
||||
int amount = wage - (int)(wage * financialInterest) - vehicleTaxation - (int)propertyTax + (int)financialHelp - rentalFees - healthInsurance - gez + (factionMoney ?? 0) + otheramount;
|
||||
|
||||
Paycheck paycheck = new Paycheck(financialHelp, financialInterest, vehicleTaxation, propertyTax, wage, amount, rentalFees, healthInsurance, gez, factionMoney, otheramount);
|
||||
Paychecks[user.Id] = paycheck;
|
||||
|
||||
Reference in New Issue
Block a user