Creates an in-world hologram that can be walked through. See the image below.
const uid = Athena.controllers.marker.append({
pos: {x: 0, y: 0, z: 0},
color: new alt.RGBA(255, 255, 255, 150),
type: MARKER_TYPE.CYLINDER,
scale: new alt.Vector3(1, 1, 1),
});
const uid = Athena.controllers.marker.addToPlayer(player, {
pos: {x: 0, y: 0, z: 0},
color: new alt.RGBA(255, 255, 255, 150),
type: MARKER_TYPE.CYLINDER,
scale: new alt.Vector3(1, 1, 1),
});
alt.setTimeout(() => {
if (!player || !player.valid) {
return;
}
Athena.controllers.marker.removeFromPlayer(player, uid);
}, 5000);