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