blip nametag farbe
This commit is contained in:
@@ -21,6 +21,7 @@ namespace ReallifeGamemode.Server.Wanted
|
||||
|
||||
public static void Check_PutBehindBars(User user)
|
||||
{
|
||||
user.SetBlipAndNametagColor();
|
||||
Player player = user.Player;
|
||||
PositionManager.cuffPoints.Remove(player);
|
||||
if (user.JailTime > 0)
|
||||
@@ -88,6 +89,7 @@ namespace ReallifeGamemode.Server.Wanted
|
||||
if (player.Position.DistanceTo(copPlayer.Position) < 5)
|
||||
{
|
||||
user.SetJailTime(false);
|
||||
user.SetBlipAndNametagColor();
|
||||
user.AnnouncePlayerJailedIn();
|
||||
dbContext.SaveChanges();
|
||||
Check_PutBehindBars(user);
|
||||
|
||||
Reference in New Issue
Block a user