[+] Add Duty Points and Weapon Points for various Factions

Fixed minor stuff
This commit is contained in:
Lukas Moungos
2019-07-22 22:04:58 +02:00
parent 0a5dbb12d6
commit 0bcf1542d1
6 changed files with 34 additions and 13 deletions

View File

@@ -206,7 +206,7 @@ namespace ReallifeGamemode.Server.Events
player.SendNotification("Du bist nun ~r~außer Dienst.");
NAPI.ClientEvent.TriggerClientEventForAll("updateDutyMedics", false);
player.NametagColor = new Color(255, 255, 255);
player.SetSharedData("blipColor", 4);
player.SetSharedData("blipColor", 0);
UpdateCharacterCloth.LoadCharacterDefaults(player);
}
}
@@ -259,7 +259,6 @@ namespace ReallifeGamemode.Server.Events
foreach (Client target in NAPI.Pools.GetAllPlayers())
{
User c = target.GetUser();
if (c.JailTime > 0)
{
criminals.Add(c.Name);
@@ -324,7 +323,6 @@ namespace ReallifeGamemode.Server.Events
}
continue;
}
switch (cloth.SlotId)
{
case 11: