remove voice debug
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user