11 lines
No EOL
286 B
JavaScript
11 lines
No EOL
286 B
JavaScript
API.onUpdate.connect(function () {
|
|
if (!API.getHudVisible()) return;
|
|
|
|
var player = API.getLocalPlayer();
|
|
|
|
API.setPlayerHealthbarVisible(player, false);
|
|
API.setPlayerNametagVisible(player, false);
|
|
API.setPlayerArmorbarVisible(player, false);
|
|
|
|
}
|
|
}); |