fixed player blips

This commit is contained in:
Lukas Moungos
2019-12-15 14:23:59 +01:00
parent 8f6fe89a66
commit c2f5c9e039
4 changed files with 24 additions and 23 deletions

View File

@@ -290,7 +290,7 @@ namespace ReallifeGamemode.Server.Commands
}
ChatService.SendMessage(target, "!{#8181E9}Deine Akte wurde von " + player.Name + " gelöscht. Grund: " + reason);
ChatService.BroadcastFaction("!{#8181E9}HQ: Die Akte von " + target.Name + " wurde von " + player.Name + " gelöscht. Grund: " + reason + ".", new List<int>() { 1, 3 });
switch ((int?)targetUser.Faction.Id)
switch (targetUser.FactionId)
{
case null:
target.SetSharedData("blipColor", 0);