From fab7c5b965face299af64d5a9cef27ca5b4cbeab Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 15 Sep 2020 16:38:37 +0200 Subject: [PATCH] add blipColor NR-Faction --- ReallifeGamemode.Server/Commands/AdminCommands.cs | 12 ++++++++++++ ReallifeGamemode.Server/Commands/FactionCommands.cs | 3 +++ ReallifeGamemode.Server/Events/Login.cs | 3 +++ .../Managers/InteractionManager.cs | 3 +++ ReallifeGamemode.Server/Wanted/Jail.cs | 3 +++ 5 files changed, 24 insertions(+) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index a007099a..1d1aafaf 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -288,6 +288,9 @@ namespace ReallifeGamemode.Server.Commands case 4: player.SetSharedData("blipColor", 5); break; + case 9: + player.SetSharedData("blipColor", 25); + break; } } @@ -1477,6 +1480,9 @@ namespace ReallifeGamemode.Server.Commands case 4: target.SetSharedData("blipColor", 5); break; + case 9: + target.SetSharedData("blipColor", 25); + break; } target.TriggerEvent("jailTime", 0); @@ -2234,6 +2240,9 @@ namespace ReallifeGamemode.Server.Commands case 4: target.SetSharedData("blipColor", 5); break; + case 9: + target.SetSharedData("blipColor", 25); + break; } dbContext.SaveChanges(); } @@ -2294,6 +2303,9 @@ namespace ReallifeGamemode.Server.Commands case 4: target.SetSharedData("blipColor", 5); break; + case 9: + target.SetSharedData("blipColor", 25); + break; } dbContext.SaveChanges(); diff --git a/ReallifeGamemode.Server/Commands/FactionCommands.cs b/ReallifeGamemode.Server/Commands/FactionCommands.cs index dc5bef39..0a7dce3c 100644 --- a/ReallifeGamemode.Server/Commands/FactionCommands.cs +++ b/ReallifeGamemode.Server/Commands/FactionCommands.cs @@ -453,6 +453,9 @@ namespace ReallifeGamemode.Server.Commands case 4: target.SetSharedData("blipColor", 5); break; + case 9: + target.SetSharedData("blipColor", 25); + break; } target.TriggerEvent("jailTime", 0); diff --git a/ReallifeGamemode.Server/Events/Login.cs b/ReallifeGamemode.Server/Events/Login.cs index 1791fd23..17d268e0 100644 --- a/ReallifeGamemode.Server/Events/Login.cs +++ b/ReallifeGamemode.Server/Events/Login.cs @@ -112,6 +112,9 @@ namespace ReallifeGamemode.Server.Events case 4: player.SetSharedData("blipColor", 5); break; + case 9: + player.SetSharedData("blipColor", 25); + break; } if (user.CharacterId == null) diff --git a/ReallifeGamemode.Server/Managers/InteractionManager.cs b/ReallifeGamemode.Server/Managers/InteractionManager.cs index 0a21293a..be36ba27 100644 --- a/ReallifeGamemode.Server/Managers/InteractionManager.cs +++ b/ReallifeGamemode.Server/Managers/InteractionManager.cs @@ -84,6 +84,9 @@ namespace ReallifeGamemode.Server.Managers case 4: player.SetSharedData("blipColor", 5); break; + case 9: + player.SetSharedData("blipColor", 25); + break; } dbContext.SaveChanges(); diff --git a/ReallifeGamemode.Server/Wanted/Jail.cs b/ReallifeGamemode.Server/Wanted/Jail.cs index b2911dce..1520ce4e 100644 --- a/ReallifeGamemode.Server/Wanted/Jail.cs +++ b/ReallifeGamemode.Server/Wanted/Jail.cs @@ -114,6 +114,9 @@ namespace ReallifeGamemode.Server.Wanted case 4: client.SetSharedData("blipColor", 5); break; + case 9: + client.SetSharedData("blipColor", 25); + break; } if (announceHq)