const dict = "shared";
const texture = "medal_gold_128";
mp.game.graphics.requestStreamedTextureDict(dict, true);
mp.events.add({
"render": () => {
if (!mp.game.graphics.hasStreamedTextureDictLoaded(dict)) return;
const pos = mp.players.local.position;
mp.game.graphics.drawMarker(
3,
pos.x, pos.y, pos.z + 1,
0, 0, 0,
0, 90, 0,
0.3, 0.3, 0.3,
255, 255, 255, 185,
false, true, 2,
false, dict, texture, false,
);
}
});