Fix Color
This commit is contained in:
@@ -290,7 +290,7 @@ namespace ReallifeGamemode.Server.Events
|
|||||||
//nameTagColor = new Color(28, 134, 238);
|
//nameTagColor = new Color(28, 134, 238);
|
||||||
//player.TriggerEvent("setNameTag", JsonConvert.SerializeObject(new int[] { 28, 134, 238 }));
|
//player.TriggerEvent("setNameTag", JsonConvert.SerializeObject(new int[] { 28, 134, 238 }));
|
||||||
player.SetSharedData("nameTagColor", factionId);
|
player.SetSharedData("nameTagColor", factionId);
|
||||||
player.SetSharedData("blipColor", 26);
|
player.SetSharedData("blipColor", 38);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
//Medic
|
//Medic
|
||||||
@@ -305,7 +305,7 @@ namespace ReallifeGamemode.Server.Events
|
|||||||
case 3:
|
case 3:
|
||||||
//nameTagColor = new Color(173, 0, 118);
|
//nameTagColor = new Color(173, 0, 118);
|
||||||
player.SetSharedData("nameTagColor", factionId);
|
player.SetSharedData("nameTagColor", factionId);
|
||||||
player.SetSharedData("blipColor", 38);
|
player.SetSharedData("blipColor", 54);
|
||||||
player.SetAccessories(2, 2, 0);
|
player.SetAccessories(2, 2, 0);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user