reset nametag when in jail

This commit is contained in:
hydrant
2021-04-05 12:22:07 +02:00
parent 39c772487b
commit a6e98a7c79

View File

@@ -104,18 +104,23 @@ namespace ReallifeGamemode.Server.Wanted
{
case null:
client.SetSharedData("blipColor", 0);
client.SetSharedData("nameTagColor", 0);
break;
case 8:
client.SetSharedData("blipColor", 83);
client.SetSharedData("nameTagColor", 8);
break;
case 7:
client.SetSharedData("blipColor", 52);
client.SetSharedData("nameTagColor", 7);
break;
case 4:
client.SetSharedData("blipColor", 5);
client.SetSharedData("nameTagColor", 4);
break;
case 9:
client.SetSharedData("blipColor", 25);
client.SetSharedData("nameTagColor", 9);
break;
}