[+] Jail System

- add Escape
    - add Jail In
    - add Jail Timer
[+] Wanted System
    - add Escape Timer
This commit is contained in:
Lukas Moungos
2019-07-16 21:40:59 +02:00
parent fcf810b567
commit 279b7770c3
10 changed files with 1382 additions and 3 deletions

View File

@@ -172,6 +172,7 @@ namespace ReallifeGamemode.Server.Finance
using (var dbContext = new DatabaseContext())
{
client.GetUser().GetBankAccount(dbContext).Balance += paycheck.Amount;
client.GetUser(dbContext).Wage = 0;
dbContext.SaveChanges();
}
if (paycheck.Amount > 0)