Fix Nametagcolor

This commit is contained in:
VegaZ
2021-04-04 03:04:40 +02:00
parent 47eecc1822
commit a340ae8507
2 changed files with 3 additions and 0 deletions

View File

@@ -20,6 +20,8 @@ export default function customNametags() {
const graphics = mp.game.graphics;
const screenRes = graphics.getScreenResolution(0, 0);
nametags.forEach(nametag => {
let [player, x, y, distance] = nametag;

View File

@@ -104,6 +104,7 @@ namespace ReallifeGamemode.Server.Events
{
case null:
player.SetSharedData("blipColor", 0);
player.SetSharedData("nameTagColor", new int[] { 255, 255, 255 });
break;
case 8: