remove voice debug

This commit is contained in:
hydrant
2021-04-10 18:38:25 +02:00
parent 6234646bd5
commit 477f46b2ff

View File

@@ -33,18 +33,9 @@ export default function customNametags() {
const graphics = mp.game.graphics;
const screenRes = graphics.getScreenResolution(0, 0);
var localPlayer: any = mp.players.local;
nametags.forEach(nametag => {
let [player, x, y, distance] = nametag;
var voiceActive = player.isVoiceActive;
var isTalking = player.isPlayerTalking;
mp.gui.chat.push("name = " + player.name + ", voiceActive = " + voiceActive + ", isTalking =" + isTalking);
if (distance <= maxDistance) {
let scale = distance / maxDistance;
if (scale < 0.6) scale = 0.6;