try fix blip colors
This commit is contained in:
@@ -290,8 +290,8 @@ 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 (targetUser.Faction.Name)
|
||||
target.SetSharedData("blipColor", 0);
|
||||
switch (targetUser.Faction.Name)
|
||||
{
|
||||
case "Ballas":
|
||||
target.SetSharedData("blipColor", 83);
|
||||
@@ -304,10 +304,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
break;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
target.SetSharedData("blipColor", 0);
|
||||
}
|
||||
|
||||
targetUser.Wanteds = 0;
|
||||
dbContext.SaveChanges();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user