Fix Nametags, ich bin dUMM

This commit is contained in:
VegaZ
2021-04-04 03:12:28 +02:00
parent 7d2faa8c74
commit 0a518ebf5b

View File

@@ -12,7 +12,8 @@ export default function customNametags() {
mp.events.addDataHandler("nameTagColor", (entity, value) => { mp.events.addDataHandler("nameTagColor", (entity, value) => {
if (entity.type === "player") { if (entity.type === "player") {
entity.setVariable('nametagColor',) entity.setVariable('nametagColor',value)
mp.gui.chat.push(value);
} }
}); });