try fix blip Colors

This commit is contained in:
Lukas Moungos
2019-12-15 14:02:51 +01:00
parent c90420ec16
commit ce2b2f284e
3 changed files with 5 additions and 9 deletions

View File

@@ -290,8 +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 });
if (targetUser.Faction != null)
{
switch (targetUser.Faction.Name)
{
case "Ballas":
@@ -304,7 +303,7 @@ namespace ReallifeGamemode.Server.Commands
target.SetSharedData("blipColor", 5);
break;
}
}
else
{
target.SetSharedData("blipColor", 0);