test voice
This commit is contained in:
@@ -33,6 +33,13 @@ 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);
|
||||||
|
|
||||||
|
var localPlayer: any = mp.players.local;
|
||||||
|
|
||||||
|
var voiceActive = localPlayer.isVoiceActive;
|
||||||
|
var isTalking = localPlayer.isPlayerTalking;
|
||||||
|
|
||||||
|
mp.gui.chat.push("voiceActive = " + voiceActive + ", isTalking =" + isTalking);
|
||||||
|
|
||||||
nametags.forEach(nametag => {
|
nametags.forEach(nametag => {
|
||||||
let [player, x, y, distance] = nametag;
|
let [player, x, y, distance] = nametag;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user