function playHintSound() {
const now = Date.now();
if (now < soundCooldownUntil) return;
if (now - lastHintSoundAt < 280) return;
soundCooldownUntil = now + 850;
lastHintSoundAt = now;
try {
const soundId = mp.game.audio.getSoundId();
mp.game.audio.playSoundFrontend(soundId, 'WAYPOINT_SET', 'HUD_FRONTEND_DEFAULT_SOUNDSET', true);
const boosts = [0, 20, 55, 95];
boosts.forEach((delay) => {
setTimeout(() => {
try { mp.game.audio.setVariableOnSound(soundId, 'Volume', 100.0); } catch (e1) {}
try { mp.game.audio.setVariableOnSound(soundId, 'MasterVolume', 100.0); } catch (e2) {}
}, delay);
});
setTimeout(() => {
try { mp.game.audio.releaseSoundId(soundId); } catch (e3) {}
}, 450);
} catch (e) {}
}