This commit is contained in:
VegaZ
2021-04-04 03:51:03 +02:00
parent 7d8fbfe7d9
commit 758cbbabb3
2 changed files with 12 additions and 5 deletions

View File

@@ -279,13 +279,15 @@ namespace ReallifeGamemode.Server.Events
//LSPD
case 1:
//nameTagColor = new Color(28, 134, 238);
player.SetSharedData("nameTagColor", new int[] { 28, 134, 238});
player.TriggerEvent("setNameTag", JsonConvert.SerializeObject(new int[] { 28, 134, 238 }))
player.SetSharedData("nameTagColor", JsonConvert.SerializeObject(new int[] { 28, 134, 238}));
player.SetSharedData("blipColor", 38);
break;
//Medic
case 2:
//nameTagColor = new Color(255, 0, 0);
player.TriggerEvent("setNameTag", JsonConvert.SerializeObject(new int[] { 255, 0, 0 }));
player.SetSharedData("nameTagColor", new int[] { 255, 0, 0});
player.SetSharedData("blipColor", 79);
break;