ReviveSperre
This commit is contained in:
@@ -331,6 +331,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
deadPlayer.SendNotification($"Du wurdest von ~y~{player.Name}~s~ für ~g~{100.ToMoneyString()} ~s~wiederbelebt.");
|
||||
player.SendNotification($"Du hast ~y~{deadPlayer.Name}~s~ wiederbelebt und ~g~{Medic.ReviveIncome}$ ~s~für die Fraktion verdient.");
|
||||
deadPlayer.SetData("isDead", false);
|
||||
deadPlayer.SetData("reviveSperre", 5);
|
||||
|
||||
dbContext.Factions.Include(f => f.BankAccount).Where(f => f.Id == 2).First().BankAccount.Balance += Medic.ReviveIncome;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user