FUNKTIONIERT DAS?
Grund bei Vergabe von Strafpunkten wird jedem Beteiligten angezeigt
This commit is contained in:
@@ -668,8 +668,8 @@ namespace ReallifeGamemode.Server.Managers
|
|||||||
targetUser.Points += amount;
|
targetUser.Points += amount;
|
||||||
|
|
||||||
player.SendNotification($"~w~Du hast ~y~{targetname} ~b~{amount} ~w~Strafpunkte gegeben. Grund: ~g~{reason}~w~.");
|
player.SendNotification($"~w~Du hast ~y~{targetname} ~b~{amount} ~w~Strafpunkte gegeben. Grund: ~g~{reason}~w~.");
|
||||||
target.SendNotification($"~b~{player.GetUser().FactionRank.RankName} | {playername} ~w~hat dir ~y~{amount} ~w~Strafpunkte gegeben.", true);
|
target.SendNotification($"~b~{player.GetUser().FactionRank.RankName} | {playername} ~w~hat dir ~y~{amount} ~w~Strafpunkte gegeben (Grund: ~r~{reason}~w~).", true);
|
||||||
ChatService.HQMessage(targetname + " hat von " + playername + " " + amount + " Strafpunkt(e) erhalten. Gesamt: " + targetUser.Points);
|
ChatService.HQMessage(targetname + " hat von " + playername + " " + amount + " Strafpunkt(e) erhalten (Grund: " + reason + "). Gesamt: " + targetUser.Points);
|
||||||
|
|
||||||
if (targetUser.Points < 0)
|
if (targetUser.Points < 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user