This are not working in the 1.1
if (logged) {
if (!localPlayer.isInAnyVehicle(false) && !localPlayer.isDead()) {
entity = getLookingAtEntity();
//getNearestObjects();
} else {
entity = null;
}
if (entity != null) {
mp.game.graphics.drawText("~w~[ ~g~M~w~ ]~n~~w~INTERAGIEREN", [entity.position.x, entity.position.y, entity.position.z], {
font: 4,
color: [255, 255, 255, 185],
scale: [0.4, 0.4],
outline: true
});
}