Add PunkteSystem

This commit is contained in:
Mac_Slash
2020-04-08 16:42:28 +02:00
parent 176f098b4f
commit 9cd5fa3f40
11 changed files with 418 additions and 257 deletions

View File

@@ -378,6 +378,7 @@ namespace ReallifeGamemode.Server.Managers
string reason = (string)JsonConvert.DeserializeObject(jsonReason);
Player target = PlayerService.GetPlayerByNameOrId(nameOrId);
string playername = NAPI.Player.GetPlayerName(player);
string targetname = NAPI.Player.GetPlayerName(target);
player.SendNotification($"~w~Du hast ~y~{targetname} ~w~ein Ticket in Höhe von ~b~{amount}$ ~w~gestellt. Grund: ~g~{reason}~w~.");
target.SendNotification($"~b~{player.GetUser().FactionRank.RankName} | {playername} ~w~hat dir ein Ticket in Höhe von ~y~{amount}$ ~w~gestellt.", true);