Fix Nametagcolor
This commit is contained in:
@@ -20,6 +20,8 @@ export default function customNametags() {
|
|||||||
const graphics = mp.game.graphics;
|
const graphics = mp.game.graphics;
|
||||||
const screenRes = graphics.getScreenResolution(0, 0);
|
const screenRes = graphics.getScreenResolution(0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
nametags.forEach(nametag => {
|
nametags.forEach(nametag => {
|
||||||
let [player, x, y, distance] = nametag;
|
let [player, x, y, distance] = nametag;
|
||||||
|
|
||||||
|
|||||||
@@ -104,6 +104,7 @@ namespace ReallifeGamemode.Server.Events
|
|||||||
{
|
{
|
||||||
case null:
|
case null:
|
||||||
player.SetSharedData("blipColor", 0);
|
player.SetSharedData("blipColor", 0);
|
||||||
|
player.SetSharedData("nameTagColor", new int[] { 255, 255, 255 });
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 8:
|
case 8:
|
||||||
|
|||||||
Reference in New Issue
Block a user