blips und nametag color

This commit is contained in:
hydrant
2021-04-05 00:16:06 +02:00
parent 7b130c6e15
commit 37555aacd3
3 changed files with 12 additions and 13 deletions

View File

@@ -27,7 +27,7 @@ export default function playerBlips() {
mp.events.add("entityStreamOut", (entity) => {
if (entity.type === "player") {
entity.blip = null;
//entity.blip = null;
}
});

View File

@@ -73,7 +73,6 @@ class RagePlayer extends RageEntity implements IPlayer {
get nametagColor(): number {
var color = this.player.getVariable("nameTagColor");
game.ui.sendChatMessage(`player = ${this.player.name} - color = ${color}`);
if (!color)
return 0;
return color;